style(be): pass linter

This commit is contained in:
Denis Gukov 2021-08-24 22:56:40 +05:00
parent 551ef97233
commit 586f56247e

View File

@ -78,7 +78,7 @@ func (d *SqlDb) prepareQueryWithDialect(query string, dialect gorp.Dialect) stri
case gorp.PostgresDialect: case gorp.PostgresDialect:
var queryBuilder strings.Builder var queryBuilder strings.Builder
argNum := 1 argNum := 1
for _, r := range []rune(query) { for _, r := range query {
switch r { switch r {
case '?': case '?':
queryBuilder.WriteString("$" + strconv.Itoa(argNum)) queryBuilder.WriteString("$" + strconv.Itoa(argNum))