package
0.0.0-20240701064118-96e69a6460fb
Repository: https://github.com/relex/slog-agent.git
Documentation: pkg.go.dev
# Functions
NewExpander creates an Expander that acts like regexp.Regexp.Expand().
# Variables
Empty is an empty template.
# Structs
Expander provides a precompiled and generic alternative to regexp.Regexp.Expand() Expander instances contain no buffer and may be copied or concurrently used.
# Type aliases
PartProvider represents a function to provide the value for a given part, from the source of template.
RecordType is the type of records as source of string expansion.
VariableResolverCreator represents a function to create PartProvider from variable name.