blob: 1ad46352ec1a9a38999c8b5bbee126033b91c273 (
plain) (
blame)
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=CommandType"; DO NOT EDIT.
package model
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[Create-0]
_ = x[Merge-1]
_ = x[Remove-2]
}
const _CommandType_name = "CreateMergeRemove"
var _CommandType_index = [...]uint8{0, 6, 11, 17}
func (i CommandType) String() string {
if i < 0 || i >= CommandType(len(_CommandType_index)-1) {
return "CommandType(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _CommandType_name[_CommandType_index[i]:_CommandType_index[i+1]]
}
|