This commit is contained in:
Yasuhiro Matsumoto 2022-05-28 23:25:14 +09:00
parent 2cd93c9677
commit bc6241221c
No known key found for this signature in database
GPG Key ID: 622DE34DC490584B
1 changed files with 6 additions and 6 deletions

View File

@ -24,12 +24,12 @@ func main() {
defer db.Close() defer db.Close()
sqlStmt := ` sqlStmt := `
create table iris ( create table iris (
sepal_length float, sepal_length float,
sepal_width float, sepal_width float,
petal_length float, petal_length float,
petal_width float, petal_width float,
class int); class int);
` `
_, err = db.Exec(sqlStmt) _, err = db.Exec(sqlStmt)
if err != nil { if err != nil {