You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

database_sqlite.go 358B

1234567891011121314151617
  1. //go:build sqlite
  2. // +build sqlite
  3. // Copyright 2014 The Gogs Authors. All rights reserved.
  4. // Use of this source code is governed by a MIT-style
  5. // license that can be found in the LICENSE file.
  6. package setting
  7. import (
  8. _ "github.com/mattn/go-sqlite3"
  9. )
  10. func init() {
  11. EnableSQLite3 = true
  12. SupportedDatabases = append(SupportedDatabases, "SQLite3")
  13. }