INNER CODE UNIT · Go

getenvBool

buildpacks-community/kpack · cmd/build-init/main.go:258

func getenvBool(key string) bool {
	value := os.Getenv(key)
	b, err := strconv.ParseBool(value)
	if err != nil {
		return false
	}
	return b
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…