// Code generated by "stringer -type=Operation -linecomment -output stringers.go ."; DO NOT EDIT. package arp import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[OpRequest-1] _ = x[OpReply-2] } const _Operation_name = "requestreply" var _Operation_index = [...]uint8{0, 7, 12} func (i Operation) String() string { idx := int(i) - 1 if i < 1 || idx >= len(_Operation_index)-1 { return "Operation(" + strconv.FormatInt(int64(i), 10) + ")" } return _Operation_name[_Operation_index[idx]:_Operation_index[idx+1]] }