nishanths / license

Command line license text generator.
MIT License
663 stars 82 forks source link

Install problem — undefined: os.LookupEnv #1

Closed tildelowengrimm closed 8 years ago

tildelowengrimm commented 8 years ago
$  go get github.com/nishanths/license
# github.com/nishanths/license/base
projects/golang/src/github.com/nishanths/license/base/config.go:24: undefined: os.LookupEnv

Running Debian Jessie with golang package version 2:1.3.3-1.

nishanths commented 8 years ago

Thanks!

I've changed os.LookupEnv to os.Getenv. Previously, this might have caused an issue because os.LookupEnv was introduced only in go1.5.

Please try reinstalling with go get -u github.com/nishanths/license.