Versions in this module Expand all Collapse all v1 v1.0.0 Mar 29, 2020 Changes in this version + func CreateConfig(options *Options, properties []*Property) (*viper.Viper, *pflag.FlagSet, error) + type Options struct + func NewOptions() *Options + func (o *Options) UseEnv(prefix string) *Options + func (o *Options) UseFile(propertyKey string) *Options + func (o *Options) UseFlags() *Options + type Property struct + func NewProperty(key string, defaultValue interface{}) *Property + func (p *Property) UseEnv() *Property + func (p *Property) UseFlag(usage string, shorthand string) *Property