package
0.1.82
Repository: https://github.com/golang-tire/pkg.git
Documentation: pkg.go.dev

# Functions

Init initialize config module with and accept confName that is config filename ext is config file extension appName is software name and will use to make search paths for config file config module will search for config files in flowing locations: /etc/<appName> $HOME/.<appName> and beside the executable file.
Load configs and set variables can use to reload configs.
RegisterBool register a bool variable.
RegisterFloat32 register a float32 variable.
RegisterFloat64 register a float64 variable.
RegisterInt register an integer variable.
RegisterInt64 register an int64 variable.
RegisterIntMock mock register int.
RegisterString register an string variable.
RegisterStringArrayMock mock register string array.
RegisterStringMock mock register string.
RegisterStringSlice register an string variable.

# Interfaces

Bool type interface.
Float type interface.
Int type interface.
String type interface.
StringSlice type interface.