package
0.11.0
Repository: https://github.com/elastic/elastic-agent-libs.git
Documentation: pkg.go.dev

# Functions

Convert transforms the value of from into to, by translating the structure from into a set of events (go-structform.Visitor) that can applied to the value given by to.
MustParseTime is a convenience equivalent of the ParseTime function that panics in case of errors.
NewConverter creates a new converter with local state for tracking known type conversations.
ParseTime parses a time in the TSLayout format.

# Constants

TSLayout is the layout to be used in the timestamp marshaling/unmarshaling everywhere.

# Structs

Converter converts structured data between arbitrary typed (serializable) go structures and maps/slices/arrays.

# Type aliases

Time is an abstraction for the time.Time type.