Update golangci-lint and turn it on in CI

This commit is contained in:
Dmitry Kropachev
2024-06-14 13:07:21 -04:00
committed by Sylwia Szunejko
parent a9ab270196
commit ab80d70106
37 changed files with 225 additions and 151 deletions

View File

@@ -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
}