aboutsummaryrefslogtreecommitdiff
path: root/feed/v2accessvector_string.go
blob: bf354fc066aa1c2a1ff970d35ae61af5fc67f427 (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=V2AccessVector"; 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[V2AVAdjacentNetwork-0]
	_ = x[V2AVLocal-1]
	_ = x[V2AVNetwork-2]
}

const _V2AccessVector_name = "ADJACENT_NETWORKLOCALNETWORK"

var _V2AccessVector_index = [...]uint8{0, 16, 21, 28}

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