4 Commits

Author SHA1 Message Date
b7dc71e7ea Optimize codes.String() method using a switch instead of a slice of indexes (#1712) 2017-12-06 10:50:43 -08:00
c1fc29613d update code_string.go for new stringer changes (#1674)
To fix travis check failures
2017-11-14 15:20:10 -08:00
25b4a426b4 go-generate pb.go files and check in Travis to make sure they don't change (#1426) 2017-08-17 16:00:51 -07:00
972dbd2cb2 Run stringer on codes.Code
This makes error codes easier to read:
fmt.Sprint(codes.OK) == "OK" instead of "0"
2015-03-24 10:15:18 -07:00