Update gocql version to v1.16.1 (#353)

* Update gocql version to v1.16.1

1. Update gocql to v1.16.1
2. Update golang to 1.25, since new gocql version requres it

* Update golangci to 2.5.0

It is needed since 1.64.8 does not support golang 1.25.
1. Update golangci to 2.5.0
2. Migrate from golangci config v1 to v2
3. Integrate fieldaligment to golangci
4. Drop fieldaligment from Makefile
5. Address complaints
This commit is contained in:
Dmitry Kropachev
2025-10-28 14:52:22 -04:00
committed by GitHub
parent 96f0b49bdd
commit 38001d64ac
22 changed files with 161 additions and 195 deletions

8
go.mod
View File

@@ -1,8 +1,6 @@
module github.com/scylladb/gocqlx/v3
go 1.24.0
toolchain go1.24.5
go 1.25.0
require (
github.com/gocql/gocql v1.7.0
@@ -15,7 +13,7 @@ require (
require (
github.com/google/uuid v1.6.0 // indirect
github.com/klauspost/compress v1.18.0 // indirect
github.com/klauspost/compress v1.18.1 // indirect
)
replace github.com/gocql/gocql => github.com/scylladb/gocql v1.15.3
replace github.com/gocql/gocql => github.com/scylladb/gocql v1.16.1