Mercurial > go > multipass
comparison auth/auth.go @ 14:4368a377ff64
gofmt.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Thu, 29 Oct 2015 21:31:28 -0400 |
parents | 1c194fa9bbf4 |
children |
comparison
equal
deleted
inserted
replaced
13:da6c493cf08a | 14:4368a377ff64 |
---|---|
25 lowercaseLen *big.Int = big.NewInt(int64(len(lowercases))) | 25 lowercaseLen *big.Int = big.NewInt(int64(len(lowercases))) |
26 maxID = big.NewInt(0) | 26 maxID = big.NewInt(0) |
27 ) | 27 ) |
28 | 28 |
29 var ( | 29 var ( |
30 WrongLengthError error = errors.New("multipass/auth: password entry must have 3 fields") | 30 WrongLengthError error = errors.New("multipass/auth: password entry must have 3 fields") |
31 BadIDError = errors.New("multipass/auth: ID field invalid") | 31 BadIDError = errors.New("multipass/auth: ID field invalid") |
32 Base64Error = errors.New("multipass/auth: can't decode base64 data") | 32 Base64Error = errors.New("multipass/auth: can't decode base64 data") |
33 LongDescriptionError = errors.New("multipass/auth: description must be less than 255 bytes") | 33 LongDescriptionError = errors.New("multipass/auth: description must be less than 255 bytes") |
34 ) | 34 ) |
35 | 35 |