package templates
import "github.com/prometheus/common/helpers/templates"
Index ¶
- func ConvertToFloat(i interface{}) (float64, error)
- func FloatToTime(v float64) (*time.Time, error)
- func HumanizeDuration(i interface{}) (string, error)
- func HumanizeTimestamp(i interface{}) (string, error)
Functions ¶
func ConvertToFloat ¶
func FloatToTime ¶
func HumanizeDuration ¶
func HumanizeTimestamp ¶
Source Files ¶
- Version
- v0.63.0 (latest)
- Published
- Mar 13, 2025
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 1 hour ago –
Tools for package owners.