string.go 443 B

1234567891011121314151617
  1. // Code generated by "stringer -output=string.go -type=Operation"; DO NOT EDIT.
  2. package arp
  3. import "strconv"
  4. const _Operation_name = "OperationRequestOperationReply"
  5. var _Operation_index = [...]uint8{0, 16, 30}
  6. func (i Operation) String() string {
  7. i -= 1
  8. if i >= Operation(len(_Operation_index)-1) {
  9. return "Operation(" + strconv.FormatInt(int64(i+1), 10) + ")"
  10. }
  11. return _Operation_name[_Operation_index[i]:_Operation_index[i+1]]
  12. }