Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadCmd ¶
func LoadCmd(obj interface{})
LoadCmd defines flags from cmd tags then inject parsed flags values in out object
func LoadEnv ¶
func LoadEnv(obj interface{}, opts *EnvOptions) error
LoadEnv set obj from environment variables
Types ¶
type EnvOptions ¶
EnvOptions is a helper object to pass options to the loader
Click to show internal directories.
Click to hide internal directories.