Categorygithub.com/davidwalter0/go-cfg
modulepackage
1.5.0
Repository: https://github.com/davidwalter0/go-cfg.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Add alias of Eval.
Bare alias of Simple create env vars without prefices.
Caller get the calling frame info.
Capitalize text.
CheckArgs validate that the pointers are pointers to struct.
Color returns a function that configures a scoped string colorizor.
Copy from the internal store to the config object interface{}.
CopyOut serializes and deseiralizes an object to copy it out of an object.
Debug set the debug test var to true.
Decorate structs with prefix.
DeepCopyInto dst from source.
Downcase text.
No description provided by the author
Enter recursively processes object configurations.
Eval one or more configuration structures.
EvalName one or more configuration structures overriding the name.
Final freezes calling flag.Parse, no more additions to the configuration after Final.
FlagInit flags.
Flags alias of Eval.
Freeze flags.
HelpText pre write text for help.
Init from a list of struct pointers.
No description provided by the author
IsSet returns if the flag has been set.
No description provided by the author
No description provided by the author
NestWrap objects retaining object hierarchy with prefix.
NewArg sets values in Arg for cfg to process structs.
NewStor returns a Stor object for persistence.
Ok returns if the flag has been set.
ParseStruct recursively processes object configurations.
RemovePkg from a type name.
Reprefix replacing object name as prefix with name.
Required returns if the flag has been set.
Reset from frozen and enable re-evaluation with ErrorHandlerModel.
No description provided by the author
Simple create env vars prefices.
SimpleFlags create env vars and flags without prefices.
Thaw flags.
ToCamelCase from either case test.
ToLowerKebabCase lower kebab (hyphen case) case splitting from CamelCase hyphenating and lower casing camel-case.
ToLowerSnakeCase lower case after snake casing string splitting CamelCase separating with '_' underscores.
ToUpperKebabCase upper kebab (hyphen case) case splitting from CamelCase hyphenating and upper casing CAMEL-CASE.
ToUpperSnakeCase upper case after snake casing string splitting CamelCase separating with '_' underscores.
No description provided by the author
Undecorate structs with prefix.
No description provided by the author
Unprefixed next struct names, without the object name as a prefix.
Unwrap alias of Simple create env vars without prefices.
Wrap (optionally) with prefix and struct names create env vars without prefices.

# 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
No description provided by the author
No description provided by the author
ErrorHandlerModel enables reconfiguring eflag.ErrorHandling for the flag handlers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Store persistable representation.
No description provided by the author
Usage add usage text for flags/help processing.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Arg is the settings passed for recursion.
Field holds the parsed struct tag information.
No description provided by the author

# Interfaces

Adder appends to configuration objects.
DeepCopier recurse and iterate over configuration structs internal representation Stor.
FieldPtr for the struct field field.
Loader reads input configuration from a store.
Storer writes configurations to store.

# Type aliases

Stor configuration representation, restorable object from, saveable to persistence.