Skip to content

Commit ad0e174

Browse files
committed
fix typos
1 parent 814cd3f commit ad0e174

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import (
88
"html/template"
99

1010
"github.com/go-sql-driver/mysql"
11+
"database/sql"
1112
)
1213

1314
var templates = template.Must(template.ParseFiles(
@@ -86,7 +87,7 @@ func main() {
8687
DBName: "accounts",
8788
}
8889

89-
db, err := sql.Open("mysql", cfg.FormatDSN())
90+
db, err := sql.Open("mysql", config.FormatDSN())
9091
handle(err)
9192

9293
err = db.Ping()

0 commit comments

Comments
 (0)