Split environment variables by =
:
$ go run cli.go
Key: ITERM_PROFILE Value: Default
Key: PWD Value: /tmp/golang-hello
Key: SHELL Value: /bin/zsh
Key: TERM_PROGRAM Value: iTerm.app
Key: GOPATH Value: /Users/ruan/go
- https://gobyexample.com/environment-variables
- https://www.golang-book.com/books/intro/4
- https://flaviocopes.com/go-web-server/
- https://www.alexedwards.net/blog/golang-response-snippets