We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0a7f15 commit eb2171eCopy full SHA for eb2171e
sqlhooks.go
@@ -37,7 +37,7 @@ Example:
37
38
// Register the driver
39
// "sqlite-hooked" is the attached driver, and "sqlite3" is where we're attaching to
40
- sqlhooks.Register("sqlite-hooked", sqlhooks.NewDriver("sqlite3", &hooks))
+ sql.Register("sqlite-hooked", sqlhooks.NewDriver("sqlite3", &hooks))
41
42
// Connect to attached driver
43
db, _ := sql.Open("sqlite-hooked", ":memory:")
0 commit comments