package templates

import "github.com/prometheus/common/helpers/templates"

Index

Functions

func ConvertToFloat

func ConvertToFloat(i interface{}) (float64, error)

func FloatToTime

func FloatToTime(v float64) (*time.Time, error)

func HumanizeDuration

func HumanizeDuration(i interface{}) (string, error)

func HumanizeTimestamp

func HumanizeTimestamp(i interface{}) (string, error)

Source Files

time.go

Version
v0.55.0
Published
Jun 26, 2024
Platform
windows/amd64
Imports
6 packages
Last checked
9 seconds ago

Tools for package owners.