Skip to content

Commit 3eb80e0

Browse files
authored
Update README.md
1 parent 621c150 commit 3eb80e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ When `multiStatements` is used, `?` parameters must only be used in the first st
307307

308308
It's possible to access the last inserted ID and number of affected rows for multiple statements by using `sql.Conn.Raw()` and the `mysql.Result`. For example:
309309

310-
```
310+
```go
311311
conn, _ := db.Conn(ctx)
312312
conn.Raw(func(conn interface{}) error {
313313
ex := conn.(driver.Execer)

0 commit comments

Comments
 (0)