Skip to content

Commit 2499a26

Browse files
authored
doc: fix deprecated usage of NewStmtCache (Masterminds#274)
1 parent 0f561c2 commit 2499a26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Squirrel wants to make your life easier:
6464

6565
```go
6666
// StmtCache caches Prepared Stmts for you
67-
dbCache := sq.NewStmtCacher(db)
67+
dbCache := sq.NewStmtCache(db)
6868

6969
// StatementBuilder keeps your syntax neat
7070
mydb := sq.StatementBuilder.RunWith(dbCache)

0 commit comments

Comments
 (0)