mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-20 23:39:56 +01:00
style(be): pass linter
This commit is contained in:
parent
551ef97233
commit
586f56247e
@ -78,7 +78,7 @@ func (d *SqlDb) prepareQueryWithDialect(query string, dialect gorp.Dialect) stri
|
||||
case gorp.PostgresDialect:
|
||||
var queryBuilder strings.Builder
|
||||
argNum := 1
|
||||
for _, r := range []rune(query) {
|
||||
for _, r := range query {
|
||||
switch r {
|
||||
case '?':
|
||||
queryBuilder.WriteString("$" + strconv.Itoa(argNum))
|
||||
|
Loading…
Reference in New Issue
Block a user