 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const ( Separator = "." // EnvSeparator is a section separator in ENV variables. EnvSeparator = "_" )
Variables ¶
This section is empty.
Functions ¶
func ReloadViper ¶
Types ¶
type Option ¶
type Option func(*opts)
Option allows to set an optional parameter of the Config.
func WithConfigDir ¶
WithConfigDir returns an option to set the system path to the directory with configuration files.
func WithConfigFile ¶
WithConfigFile returns an option to set the system path to the configuration file.
func WithEnvPrefix ¶
WithEnvPrefix returns an option to defines a prefix that ENVIRONMENT variables will use.
 Click to show internal directories. 
   Click to hide internal directories.