aboutsummaryrefslogtreecommitdiff
path: root/lib/sql/table.go
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2020-06-06 05:25:23 +0700
committerShulhan <m.shulhan@gmail.com>2020-06-06 05:25:42 +0700
commitb1133f25df3ec38b503e1ea6129ea6b3397968bb (patch)
tree53a2c6755c6a2e0d9ed13b84603e5b8bcd2e3ee0 /lib/sql/table.go
parent8661178b08ce640d7c24aec8465802e4d5160e2a (diff)
downloadpakakeh.go-b1133f25df3ec38b503e1ea6129ea6b3397968bb.tar.xz
all: use default linter options
Diffstat (limited to 'lib/sql/table.go')
-rw-r--r--lib/sql/table.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/sql/table.go b/lib/sql/table.go
index 3dbdb984..4ecb198d 100644
--- a/lib/sql/table.go
+++ b/lib/sql/table.go
@@ -33,7 +33,6 @@ func (table *Table) Insert(tx *sql.Tx) (ids []int64, err error) {
continue
}
- //nolint: gosec
q := fmt.Sprintf("INSERT INTO %s (%s) VALUES (%s)",
table.Name, strings.Join(names, ","),
strings.Join(holders, ","))