aboutsummaryrefslogtreecommitdiff
path: root/feed/v3impact_string.go
blob: 13c7ee3cd7188b7252b17c39a10af75aa7ed971b (plain)
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 -linecomment -type=V3Impact"; 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[V3ImpactNone-0]
	_ = x[V3ImpactLow-1]
	_ = x[V3ImpactHigh-2]
}

const _V3Impact_name = "NONELOWHIGH"

var _V3Impact_index = [...]uint8{0, 4, 7, 11}

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