build: go 1.24
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

We were running behind and there were quite some deprecations to update.
This was mostly in the upstream copy/pasta package but seems quite
minimal.
This commit is contained in:
2025-03-16 12:04:32 +01:00
parent a2b678caf6
commit 1723025fbf
822 changed files with 25433 additions and 197407 deletions

View File

@ -8,7 +8,7 @@ import (
)
// Level is a logging level.
type Level int32
type Level int
const (
// DebugLevel is the debug level.
@ -22,12 +22,12 @@ const (
// FatalLevel is the fatal level.
FatalLevel Level = 12
// noLevel is used with log.Print.
noLevel Level = math.MaxInt32
noLevel Level = math.MaxInt
)
// String returns the string representation of the level.
func (l Level) String() string {
switch l {
switch l { //nolint:exhaustive
case DebugLevel:
return "debug"
case InfoLevel: