package dbtest
import "golang.org/x/perf/storage/db/dbtest"
Index ¶
Functions ¶
func NewDB ¶
NewDB makes a connection to a testing database, either sqlite3 or Cloud SQL depending on the -cloud flag. cleanup must be called when done with the testing database, instead of calling db.Close()
Source Files ¶
dbtest.go nocloud.go
- Version
- v0.0.0-20250414141303-3fc2b901edf3 (latest)
- Published
- Apr 14, 2025
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 1 month ago –
Tools for package owners.