~rogpeppe/goose/client-using-identity

« back to all changes in this revision

Viewing changes to testservices/identityservice/util.go

  • Committer: Roger Peppe
  • Date: 2012-11-21 09:39:41 UTC
  • Revision ID: roger.peppe@canonical.com-20121121093941-7h3hgryax2vvnpse
gofmt

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
        token  string
12
12
}
13
13
 
14
 
// Generate a bit of random hex data for 
 
14
// Generate a bit of random hex data for
15
15
func randomHexToken() string {
16
16
        raw_bytes := make([]byte, 16)
17
17
        n, err := rand.Read(raw_bytes)