mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-26 04:16:36 +00:00
chore: update Go version to 1.26.0 (#2342)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user