/ build / project

Index | Files | Exmaples | Directories
go get


Package Files


func Getenv

func Getenv(s string) string

Getenv returns the envinroment variable. It looks for the envinroment variable in the following order. It checks if the current shell session has an envinroment variable, checks if it's set in the OS specific section in the .build file, and checks it for common in the .build config file.