simple-envvar

command
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2020 License: MIT Imports: 5 Imported by: 0

README

$ source $GOPATH/src/github.com/adrianduke/configr/examples/simple-envvar/envvars.sh
$ go run $GOPATH/src/github.com/adrianduke/configr/examples/simple-envvar/example.go
	Values:
		main.Email{FromAddress:"test@testing.com", Subject:"My email subject", MaxRetries:5, RetryOnFail:false}

Alternatively:

$ CONFIGR_EMAIL_FROMADDRESS=test@testing.com CONFIGR_EMAIL_SUBJECT='Test subject' go run $GOPATH/src/github.com/adrianduke/configr/examples/simple-envvar/example.go
	Values:
		main.Email{FromAddress:"test@testing.com", Subject:"Test subject", MaxRetries:5, RetryOnFail:false}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL