You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it a useful enough function to keep? It looks like the only time you'd notice the
difference between GetenvError and Getenv is if you pass an empty key, or if you want to
distinguish an unset environment variable from an empty-but-set one. The former case is
trivially checkable from callers; the latter case can either use syscall.Getenv
directly, or use os.Environ and parse/iterate themselves.
Just my 2¢.
The text was updated successfully, but these errors were encountered: