Update golangci-lint and turn it on in CI
This commit is contained in:
committed by
Sylwia Szunejko
parent
a9ab270196
commit
ab80d70106
12
qb/select.go
12
qb/select.go
@@ -34,15 +34,15 @@ func (o Order) String() string {
|
||||
|
||||
// SelectBuilder builds CQL SELECT statements.
|
||||
type SelectBuilder struct {
|
||||
limit limit
|
||||
limitPerPartition limit
|
||||
table string
|
||||
columns columns
|
||||
distinct columns
|
||||
using using
|
||||
where where
|
||||
groupBy columns
|
||||
orderBy columns
|
||||
limit limit
|
||||
limitPerPartition limit
|
||||
columns columns
|
||||
distinct columns
|
||||
using using
|
||||
allowFiltering bool
|
||||
bypassCache bool
|
||||
json bool
|
||||
@@ -132,7 +132,7 @@ func (b *SelectBuilder) From(table string) *SelectBuilder {
|
||||
}
|
||||
|
||||
// Json sets the clause of the query.
|
||||
func (b *SelectBuilder) Json() *SelectBuilder {
|
||||
func (b *SelectBuilder) Json() *SelectBuilder { // nolint: revive
|
||||
b.json = true
|
||||
return b
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user