models_sqlite.go 373 B

123456789101112131415161718
  1. // +build sqlite
  2. // Copyright 2015 - Present, The Gogs Authors. All rights reserved.
  3. // Copyright 2018 - Present, Gitote. All rights reserved.
  4. //
  5. // This source code is licensed under the MIT license found in the
  6. // LICENSE file in the root directory of this source tree.
  7. package models
  8. import (
  9. _ "github.com/mattn/go-sqlite3"
  10. )
  11. func init() {
  12. EnableSQLite3 = true
  13. }