package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Sep 25, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
InitConfig loads the first .env file found and makes its values available
to viper below command-line flags. Having no .env file is normal and silent.
type Config struct {
Port string `mapstructure:"port"`
DataDir string `mapstructure:"data-dir"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.