mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-24 20:17:03 +01:00
25fd495b2e
This adds a sqlite build tag so that you don't have to have the sqlite import commented out in code and users can run: go build -tags sqlite if they want to have sqlite support enabled. It is disabled by default so nothing changes with the default go get or build commands.
12 lines
240 B
Go
12 lines
240 B
Go
// +build sqlite
|
|
|
|
// Copyright 2014 The Gogs Authors. All rights reserved.
|
|
// Use of this source code is governed by a MIT-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package models
|
|
|
|
import (
|
|
_ "github.com/mattn/go-sqlite3"
|
|
)
|