Registry / database / proullon-ramsql

proullon-ramsql

JSON →
library0.1.4gogounverified

Package ramsql is an in-memory SQL engine for testing Go database/sql drivers.

go get github.com/proullon/ramsql
INSTALL
IMPORT
SIG · PROULLON-RAMSQL
P
proullon-ramsql
databasegov0.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ramsql
✓ github.com/proullon/ramsql

Opens an in-memory SQL database for testing

import ( "database/sql" _ "github.com/proullon/ramsql" ) func main() { db, err := sql.Open("ramsql", "TestDB") if err != nil { panic(err) } defer db.Close() _, err = db.Exec("CREATE TABLE test (id INT PRIMARY KEY, name TEXT)") if err != nil { panic(err) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
proullon-ramsql — go get proullon-ramsql · libregistry