blob: 936f376ad7c246f0f22d16593f3f5ba3bd6660c4 [file] [log] [blame]
Samuel A. Falvo II8280cb72014-01-06 15:06:53 -08001package main
2
3import (
4 "github.com/rackspace/gophercloud"
5 "github.com/rackspace/gophercloud/osutil"
6)
7
8func main() {
9 provider, authOptions, err := osutil.AuthOptions()
10 if err != nil {
11 panic(err)
12 }
13 _, err = gophercloud.Authenticate(provider, authOptions)
14 if err != nil {
15 panic(err)
16 }
17}