Documentation
¶
Index ¶
Constants ¶
View Source
const ( YAML = internal.YAML JSON = internal.JSON )
Variables ¶
View Source
var ( AsJSON = internal.WithOutputFormat(JSON) AsYAML = internal.WithOutputFormat(YAML) )
View Source
var ( WithFuncPrefix = internal.WithFuncPrefix WithStringPrefix = internal.WithStringPrefix )
Functions ¶
func WithAttributeNameFormat ¶
func WithAttributeNameFormat(attrNameFmt string) func(builder *builder)
func WithStrictMode ¶
func WithStrictMode(strict bool) func(builder *builder)
Types ¶
type Pathifier ¶
type Pathifier[S Type] interface { Set(pathValueList ...any) Pathifier[S] With(opts ...SetterOpt) func(pathValueList ...any) Pathifier[S] Out() S YAML() string JSON() string String(opts ...internal.OutputOpt) string }
func Load ¶
func Load[T Type](content T, options ...PathifyOpt) Pathifier[T]
type PathifyOpt ¶
type PathifyOpt func(sanitizer *builder)
Click to show internal directories.
Click to hide internal directories.