os.Getenv() was already stubbed out, but os.LookupEnv() wasn't. This
will allow me to compile my program unmodified without using separate
files and build tags.
Этот коммит содержится в:
Martin Tournoij 2020-10-23 07:18:07 +08:00 коммит произвёл Ayke
родитель 6eeebfeb5c
коммит ff833ef998

Просмотреть файл

@ -3,3 +3,7 @@ package os
func Getenv(key string) string { func Getenv(key string) string {
return "" return ""
} }
func LookupEnv(key string) (string, bool) {
return "", false
}