Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigFile ¶
type ConfigFile struct { Name string `description:"name of the configuration file"` Location string `description:"location of the configuration file"` Format string `description:"extension of the configuration file"` }
ConfigFile describes the name, path and the format of the file to be used to load the configuration in the env
func DefaultConfigFile ¶
func DefaultConfigFile() ConfigFile
DefaultConfigFile holds the default config file properties
type InputValidator ¶
type InputValidator interface {
Validate() error
}
InputValidator should be implemented by types that need input validation check. Mainly settings types
type Settings ¶
Settings is used to setup go-tin
func DefaultSettings ¶
func DefaultSettings() *Settings
DefaultSettings returns the default values for configuring go-tin
Click to show internal directories.
Click to hide internal directories.