Commit Graph

8 Commits

Author SHA1 Message Date
Kristóf Havasi b819467576 Add error checking in simple example for tx.Commit
Based on https://golang.org/pkg/database/sql/#Tx.Commit this function returns an error type.
So why not check it.
2022-05-28 23:40:45 +09:00
mattn 43dcd3131f Update _example/simple/Dockerfile 2022-05-18 11:53:00 +09:00
KEINOS c122302862 feat: simple example of Dockerfile w/ multi-stage build 2022-05-18 11:53:00 +09:00
Stani ed21175288 add missing error checking to simple example 2016-04-14 20:56:02 +02:00
gmarik 94efba9292 remove duplicated Close
since there's one already at line 51
2015-08-16 16:39:53 -04:00
tonio3l 0cdea24bc7 Update simple.go (very small change)
Renaming the string "sql" into "sqlStmt" in order to prevent mixing with package types & functions sql.* in future edits or code reuse.
2014-07-29 11:46:30 -07:00
mattn d4673cd31c Implements Execer 2013-09-09 10:44:44 +09:00
mattn 501b1ea772 mv 2013-08-28 14:50:02 +09:00