Skip to content

v0.3.0

Compare
Choose a tag to compare
@jonathaningram jonathaningram released this 12 Feb 00:50
· 4 commits to master since this release

Changes

  • add URL flag
  • remove Travis CI
  • switch to GitHub Actions

URL flag usage

Before:

url1Str = env.String("URL_1", "...") // url1Str is a *string

url1, err := url.Parse(*url1Str)
if err != nil {
	log.Fatalf("Could not parse URL 1: %v", err)
}

After:

url1 = env.URL("URL_1", "...") // url1 is a *url.URL