Versions in this module Expand all Collapse all v1 v1.10.0 May 29, 2025 Changes in this version + const DefaultSeparator + const TagAwsSecret + const TagEnv + const TagEnvDefault + const TagEnvDescription + const TagEnvLayout + const TagEnvPrefix + const TagEnvRequired + const TagEnvSeparator + const TagEnvUpd + const TagGcpSecret + func FUsage(w io.Writer, cfg interface{}, headerText *string, usageFuncs ...func()) func() + func GetDescription(cfg interface{}, headerText *string) (string, error) + func LoadConfigFromSecrets(ctx context.Context, configStructPtr interface{}) error + func ParseJSON(r io.Reader, str interface{}) error + func ParseTOML(r io.Reader, str interface{}) error + func ParseYAML(r io.Reader, str interface{}) error + func ReadConfig(path string, cfg interface{}) error + func ReadEnv(cfg interface{}) error + func UpdateEnv(cfg interface{}) error + func Usage(cfg interface{}, headerText *string, usageFuncs ...func()) func() + type AppConfig struct + APIKeyGCP string + APITokenAWS string + DBPasswordAWS string + RegularValue string + UnusedSecret string + type Setter interface + SetValue func(string) error + type Updater interface + Update func() error