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.

23 lines
642 B

  1. // Code generated by "stringer -type=ClientName -output=http_client_name_string.go"; DO NOT EDIT.
  2. package client
  3. import "strconv"
  4. func _() {
  5. // An "invalid array index" compiler error signifies that the constant values have changed.
  6. // Re-run the stringer command to generate them again.
  7. var x [1]struct{}
  8. _ = x[Client-0]
  9. }
  10. const _ClientName_name = "Client"
  11. var _ClientName_index = [...]uint8{0, 6}
  12. func (i ClientName) String() string {
  13. if i < 0 || i >= ClientName(len(_ClientName_index)-1) {
  14. return "ClientName(" + strconv.FormatInt(int64(i), 10) + ")"
  15. }
  16. return _ClientName_name[_ClientName_index[i]:_ClientName_index[i+1]]
  17. }