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 277B

123456789101112131415
  1. //go:build sqlite
  2. // Copyright 2014 The Gogs Authors. All rights reserved.
  3. // SPDX-License-Identifier: MIT
  4. package setting
  5. import (
  6. _ "github.com/mattn/go-sqlite3"
  7. )
  8. func init() {
  9. EnableSQLite3 = true
  10. SupportedDatabaseTypes = append(SupportedDatabaseTypes, "sqlite3")
  11. }