diff --git a/modifying.md b/modifying.md index 487aac3..e976651 100644 --- a/modifying.md +++ b/modifying.md @@ -17,6 +17,7 @@ example shows how to insert a row and inspect metadata about the operation:
stmt, err := db.Prepare("INSERT INTO users(name) VALUES(?)") +defer stmt.Close() if err != nil { log.Fatal(err) }