Download internal/bootstrap/sqlite_driver_glebarez.go from lin7zhi/OpenList: direct link, hf CLI and curl.
- Browser
- Download file 266 Bytes
-
https://huggingface.co/spaces/lin7zhi/OpenList/resolve/main/internal/bootstrap/sqlite_driver_glebarez.go
- Command line
-
hf download hf://spaces/lin7zhi/OpenList/internal/bootstrap/sqlite_driver_glebarez.go
-
curl -L -o sqlite_driver_glebarez.go https://huggingface.co/spaces/lin7zhi/OpenList/resolve/main/internal/bootstrap/sqlite_driver_glebarez.go
266 Bytes
| //go:build !sqlite_cgo_compat && !(linux && (mips || mips64 || mips64le || mipsle || loong64)) && !(windows && 386) | |
| package bootstrap | |
| import ( | |
| "github.com/glebarez/sqlite" | |
| "gorm.io/gorm" | |
| ) | |
| func openSQLite(dsn string) gorm.Dialector { | |
| return sqlite.Open(dsn) | |
| } | |