Skip to content

Commit fe692c2

Browse files
update readme
1 parent d231dec commit fe692c2

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
@@ -31,7 +31,7 @@ p, _ := stdSql.Open("mysql", "user:password@/dbname")
3131
kP, _ := stdSql.Open("mysql", "user:password@/dbname") // KillerPool
3232
kP.SetMaxOpenConns(1)
3333

34-
pool := sql.DB{p, kP}
34+
pool := &sql.DB{p, kP}
3535

3636
```
3737

0 commit comments

Comments
 (0)