Categorygithub.com/JojiiOfficial/configService
modulepackage
0.0.0-20200219132202-6e71512e2e28
Repository: https://github.com/jojiiofficial/configservice.git
Documentation: pkg.go.dev

# Functions

ENV return environment.
GetStringTomlKeys returns a string array of the names of the keys that are passed in as args.
Load will unmarshal configurations to struct from files that you provide.
New initialize a ConfigService.
Save saves a config.
SetupConfig create config file if not exists and fill it with default valuesReturns true if config was created.

# Variables

NoChange don't change the config file.

# Structs

No description provided by the author
No description provided by the author
UnmatchedTomlKeysError errors are returned by the Load function when ErrorOnUnmatchedKeys is set to true and there are unmatched keys in the input toml config file.