gofmt.
This commit is contained in:
parent
6c2d2c4b6b
commit
79234d62ef
|
@ -3,8 +3,8 @@ package main
|
||||||
import (
|
import (
|
||||||
"exp/sql"
|
"exp/sql"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
|
||||||
_ "github.com/mattn/go-sqlite3"
|
_ "github.com/mattn/go-sqlite3"
|
||||||
|
"os"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@ -20,7 +20,7 @@ func main() {
|
||||||
"create table foo (id integer not null primary key, name text)",
|
"create table foo (id integer not null primary key, name text)",
|
||||||
"delete from foo",
|
"delete from foo",
|
||||||
}
|
}
|
||||||
for _, sql := range(sqls) {
|
for _, sql := range sqls {
|
||||||
_, err = db.Exec(sql)
|
_, err = db.Exec(sql)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Printf("%q: %s\n", err, sql)
|
fmt.Printf("%q: %s\n", err, sql)
|
||||||
|
|
Loading…
Reference in New Issue