chore: update Go version to 1.26.0 (#2342)

This commit is contained in:
Jan-Otto Kröpke
2026-03-20 00:56:39 +01:00
committed by GitHub
parent 2a76fb8987
commit 75d090c0df
2 changed files with 1 additions and 5 deletions

2
go.mod
View File

@@ -1,6 +1,6 @@
module github.com/prometheus-community/windows_exporter
go 1.25.0
go 1.26.0
require (
github.com/alecthomas/kingpin/v2 v2.4.0

View File

@@ -33,10 +33,6 @@ func BoolToFloat(b bool) float64 {
return 0.0
}
func ToPTR[t any](v t) *t {
return &v
}
func PercentageToRatio(percentage float64) float64 {
return percentage / 100
}