package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Mar 25, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AppConfig struct {
ConfigFile string `config:"./examples/basic-cli/config.yaml,The yaml config file to read, true, c"`
Messages Messages `config:""`
Snakes []string `config:"\"[\"\"Mamba\"\",\"\"Viper\"\"]\", A list of snakes. Hsssss!, true, s"`
*Embedded `config:""`
}
type Embedded struct {
Farewell string `config:"Goodbye!, The farewell to use"`
}
type Messages struct {
Greeting string `config:"Hello there!, The greating to use, false, g"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.