aboutsummaryrefslogtreecommitdiff
path: root/internal/feed/v3userinteraction_string.go
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2022-02-01 08:45:27 -0500
committerPaul Duncan <pabs@pablotron.org>2022-02-01 08:45:27 -0500
commit00206f4dfbb55cc56d24bdfd9f015e912120c72c (patch)
tree8ed99b014d817e48fea0bdb5ad2a82a5154c9fd1 /internal/feed/v3userinteraction_string.go
parent2632e8a18ce586fa0d40ac71d4b23e8cfb6d508b (diff)
downloadcvez-00206f4dfbb55cc56d24bdfd9f015e912120c72c.tar.bz2
cvez-00206f4dfbb55cc56d24bdfd9f015e912120c72c.zip
internal/feed: add v3userinteraction tests
Diffstat (limited to 'internal/feed/v3userinteraction_string.go')
-rw-r--r--internal/feed/v3userinteraction_string.go24
1 files changed, 24 insertions, 0 deletions
diff --git a/internal/feed/v3userinteraction_string.go b/internal/feed/v3userinteraction_string.go
new file mode 100644
index 0000000..be78920
--- /dev/null
+++ b/internal/feed/v3userinteraction_string.go
@@ -0,0 +1,24 @@
+// Code generated by "stringer -linecomment -type=V3UserInteraction"; 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[V3UINone-0]
+ _ = x[V3UIRequired-1]
+}
+
+const _V3UserInteraction_name = "NONEREQUIRED"
+
+var _V3UserInteraction_index = [...]uint8{0, 4, 12}
+
+func (i V3UserInteraction) String() string {
+ if i >= V3UserInteraction(len(_V3UserInteraction_index)-1) {
+ return "V3UserInteraction(" + strconv.FormatInt(int64(i), 10) + ")"
+ }
+ return _V3UserInteraction_name[_V3UserInteraction_index[i]:_V3UserInteraction_index[i+1]]
+}