chore: update Go version to 1.26.0 (#2342)

This commit is contained in:
Jan-Otto Kröpke
2026-03-19 23:56:39 +00:00
committed by GitHub
parent 2a76fb8987
commit 75d090c0df
2 changed files with 1 additions and 5 deletions
+1 -1
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
-4
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
}