You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
471 B

  1. // generated by stringer -type=RetCode; DO NOT EDIT
  2. package types
  3. import "fmt"
  4. const _RetCode_name = "RetCodeOKRetCodeInternalErrorRetCodeUnauthorizedRetCodeInsufficientFeesRetCodeUnknownRequestRetCodeEncodingError"
  5. var _RetCode_index = [...]uint8{0, 9, 29, 48, 71, 92, 112}
  6. func (i RetCode) String() string {
  7. if i < 0 || i+1 >= RetCode(len(_RetCode_index)) {
  8. return fmt.Sprintf("RetCode(%d)", i)
  9. }
  10. return _RetCode_name[_RetCode_index[i]:_RetCode_index[i+1]]
  11. }