Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
いつもの interpoateparams
Browse files Browse the repository at this point in the history
  • Loading branch information
acidlemon committed Nov 25, 2023
1 parent 3aa99cf commit 7e4c842
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webapp/go/main.go
Expand Up @@ -65,6 +65,7 @@ func connectDB(logger echo.Logger) (*sqlx.DB, error) {
conf.Passwd = "isucon"
conf.DBName = "isupipe"
conf.ParseTime = true
conf.InterpolateParams = true

if v, ok := os.LookupEnv(networkTypeEnvKey); ok {
conf.Net = v
Expand Down

0 comments on commit 7e4c842

Please sign in to comment.