code.gitea.io/gitea@v1.19.3/modules/setting/database_sqlite.go (about)

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