mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-26 19:46:49 +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"
|
|
)
|