aboutsummaryrefslogtreecommitdiff
path: root/feed/dataversion_string.go
blob: 26a0fdb27bc5461708bf5908c53eb0b16a714a4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Code generated by "stringer -linecomment -type=DataVersion"; DO NOT EDIT.

package feed

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[V40-0]
}

const _DataVersion_name = "4.0"

var _DataVersion_index = [...]uint8{0, 3}

func (i DataVersion) String() string {
	if i >= DataVersion(len(_DataVersion_index)-1) {
		return "DataVersion(" + strconv.FormatInt(int64(i), 10) + ")"
	}
	return _DataVersion_name[_DataVersion_index[i]:_DataVersion_index[i+1]]
}