os.Getenv() will return "" for unset environment variables.  See http://godoc.org/os#Getenv

Note that strings cannot be null in Go; there is no such thing.  A non-existent string is an empty string, by definition.