Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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. }