Cool, just checking :)


.:alex:.


On Wed, Jul 3, 2013 at 5:46 PM, Samuel A. Falvo II <notifications@github.com
> wrote:

> In acceptance/02-list-servers.go:
>
> > @@ -0,0 +1,53 @@
> > +package main
> > +
> > +import (
> > +	"fmt"
> > +	"github.com/rackspace/gophercloud"
> > +	"os"
> > +)
> > +
> > +func main() {
> > +	provider := os.Getenv("SDK_PROVIDER")
> > +	username := os.Getenv("SDK_USERNAME")
> > +	password := os.Getenv("SDK_PASSWORD")
> > +
> > +	if (provider == "") || (username == "") || (password == "") {
>
> 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.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/rackspace/gophercloud/pull/31/files#r5023476>
> .
>