ci: bump to go 1.23 (#453)

Upgrade to Go 1.23.

Upgrade also requires bumping `golangci-lint` to v1.62.2, and upgrading
third-party test versions for some failing cases.
This commit is contained in:
Michael McLoughlin
2024-12-22 19:01:48 -05:00
committed by GitHub
parent 3b84ecd27b
commit b985ff5775
31 changed files with 88 additions and 100 deletions

View File

@@ -131,7 +131,7 @@ func newTuple(t *types.Tuple, offsets []int64, size int64, defaultprefix string)
byname: map[string]Component{},
size: int(size),
}
for i := 0; i < t.Len(); i++ {
for i := range t.Len() {
v := t.At(i)
name := v.Name()
if name == "" {
@@ -172,7 +172,7 @@ func (t *Tuple) Bytes() int { return t.size }
func tuplevars(t *types.Tuple) []*types.Var {
vs := make([]*types.Var, t.Len())
for i := 0; i < t.Len(); i++ {
for i := range t.Len() {
vs[i] = t.At(i)
}
return vs