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