sample-golang
sample-golang copied to clipboard
Sorting output of /env handler
In my humble opinion sorted variables are more readable.
By the way, envs = append(envs, os.Environ()...)
seems useless, os.Environ()
does the trick for you (it calls syscall.Environ()
)