package
1.300045.0
Repository: https://github.com/aws/amazon-cloudwatch-agent.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
MarshalerHookFunc returns a DecodeHookFuncValue that checks structs that aren't the original to see if they implement the Marshaler interface.
New returns a new encoder for the configuration.
NilHookFunc returns a DecodeHookFuncValue that checks if the value matches the type and nils it out.
NilZeroValueHookFunc returns a DecodeHookFuncValue that only nils the field if it's a zero value.
TextMarshalerHookFunc returns a DecodeHookFuncValue that checks for the encoding.TextMarshaler interface and calls the MarshalText function if found.
UnsupportedKindHookFunc returns a DecodeHookFuncValue that checks that the kind isn't one unsupported by the YAML encoder.

# Structs

An Encoder takes structured data and converts it into an interface following the mapstructure tags.
EncoderConfig is the configuration used to create a new encoder.