mirror of https://github.com/go-gitea/gitea
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.pull/197/head
parent
0650c3c9f6
commit
25fd495b2e
@ -0,0 +1,11 @@ |
||||
// +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" |
||||
) |
Loading…
Reference in new issue