package
0.5.0
Repository: https://github.com/puppetlabs/leg.git
Documentation: pkg.go.dev

# Functions

Compile creates a new TimeTree from a list of formats.
FromPOSIX converts a POSIX time format string like %Y-%m-%d and converts it to a list of time formats compatible with this package.
IsTime is a convenience function that calls Root().IsTime(),.
Parse is a convenience function that calls Root().Parse().
ParseInLocation is a convenience function that calls Root().ParseInLocation().
ParsePOSIX parses the given time string according to the given POSIX format.
Root returns the TimeTree corresponding to TimeFormats.

# Constants

No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TimeFormats is a list of commonly seen time formats from log messages.

# Structs

TimeTree is a compiled list of time formats.