- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for initEnvCache (0.21 sec)
-
src/cmd/go/internal/cfg/cfg.go
} } val := os.Getenv(key) if val != "" { return val } envCache.once.Do(initEnvCache) return envCache.m[key] } // CanGetenv reports whether key is a valid go/env configuration key. func CanGetenv(key string) bool { envCache.once.Do(initEnvCache) if _, ok := envCache.m[key]; ok { // Assume anything in the user file or go.env file is valid. return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.3K bytes - Viewed (0)