1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
// Code generated by "stringer -type=Type -linecomment"; DO NOT EDIT.
package protocolversion
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[Invalid-0]
_ = x[Api-1]
_ = x[Entrypoint-2]
}
const _Type_name = "invalidapientrypoint"
var _Type_index = [...]uint8{0, 7, 10, 20}
func (i Type) String() string {
if i >= Type(len(_Type_index)-1) {
return "Type(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _Type_name[_Type_index[i]:_Type_index[i+1]]
}
|