Documentation ¶ Index ¶ Constants func Registrate(ctx context.Context) (context.Context, error) func RegistrateAndParse(ctx context.Context, cfg interface{}) (context.Context, error) type Provider func NewProvider() *Provider func (ec *Provider) Parse(structure interface{}) error Constants ¶ View Source const DefaultProviderName = "envconfig" Variables ¶ This section is empty. Functions ¶ func Registrate ¶ func Registrate(ctx context.Context) (context.Context, error) func RegistrateAndParse ¶ func RegistrateAndParse(ctx context.Context, cfg interface{}) (context.Context, error) Types ¶ type Provider ¶ type Provider struct{} Provider is a control structure that provides envconfig functionality to gowork. func NewProvider ¶ func NewProvider() *Provider func (*Provider) Parse ¶ func (ec *Provider) Parse(structure interface{}) error Parse executes parsing sequence. Source Files ¶ View all Source files context.go provider.go Click to show internal directories. Click to hide internal directories.