package
Version:
v0.0.0-...-62dc989
Opens a new window with list of versions in this module.
Published: Feb 28, 2022
License: LGPL-3.0
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 App struct {
Version string
}
App struct field.
type Config struct {
App App
Log Log
}
Config struct field.
ReadConfig read values and files for config.
type Configurer interface {
ReadConfig() (*Config, error)
}
Configurer methods for config.
type Log struct {
Provider string `env:"LOG_PROVIDER" envDefault:"zap"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.