diff options
author | mattn <mattn.jp@gmail.com> | 2014-07-30 09:00:17 +0900 |
---|---|---|
committer | mattn <mattn.jp@gmail.com> | 2014-07-30 09:00:17 +0900 |
commit | 1704ea522da54566fb41576db328ea3c44f702d8 (patch) | |
tree | 42b3af09c1508fa52ffa790f535c35d3388a5312 | |
parent | Prefer md (diff) | |
parent | Update simple.go (very small change) (diff) | |
download | golite-1704ea522da54566fb41576db328ea3c44f702d8.tar.gz golite-1704ea522da54566fb41576db328ea3c44f702d8.tar.xz |
Merge pull request #134 from antoine-lizee/patch-1
Update simple.go (very small change)
-rw-r--r-- | _example/simple/simple.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/_example/simple/simple.go b/_example/simple/simple.go index 21c09c9..a45c22b 100644 --- a/_example/simple/simple.go +++ b/_example/simple/simple.go @@ -17,13 +17,13 @@ func main() { } defer db.Close() - sql := ` + sqlStmt := ` create table foo (id integer not null primary key, name text); delete from foo; ` - _, err = db.Exec(sql) + _, err = db.Exec(sqlStmt) if err != nil { - log.Printf("%q: %s\n", err, sql) + log.Printf("%q: %s\n", err, sqlStmt) return } |