Updated golandci-lint to 1.21.0

Signed-off-by: Michał Matczuk <michal@scylladb.com>
This commit is contained in:
Michał Matczuk
2019-11-08 00:03:26 +01:00
committed by Michal Matczuk
parent 3e60935d2a
commit 1668ca5832
8 changed files with 36 additions and 31 deletions

View File

@@ -76,7 +76,7 @@ func (b *BatchBuilder) AddWithPrefix(prefix string, builder Builder) *BatchBuild
// AddStmtWithPrefix adds statement to the batch. Names are prefixed with
// the prefix + ".".
func (b *BatchBuilder) AddStmtWithPrefix(prefix string, stmt string, names []string) *BatchBuilder {
func (b *BatchBuilder) AddStmtWithPrefix(prefix, stmt string, names []string) *BatchBuilder {
b.stmts = append(b.stmts, stmt)
for _, name := range names {
if prefix != "" {

View File

@@ -230,7 +230,6 @@ func (b *SelectBuilder) Sum(column string) *SelectBuilder {
return b
}
func (b *SelectBuilder) fn(name, column string) *SelectBuilder {
func (b *SelectBuilder) fn(name, column string) {
b.Columns(name + "(" + column + ")")
return b
}