summaryrefslogtreecommitdiff
path: root/generateIterator.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-11 09:49:44 -0600
committerJeff Carr <[email protected]>2025-01-11 09:49:44 -0600
commit12fb2c9f0960b121a45e9e0cc580a4bfa38eae89 (patch)
treee49fedc4a270223241806da8ef3f4728f29dfffb /generateIterator.go
parent0b4ab2fb9f860e21a8ca43390fa6a4af4678f29a (diff)
hmm. maybe
Diffstat (limited to 'generateIterator.go')
-rw-r--r--generateIterator.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/generateIterator.go b/generateIterator.go
index a291c1e..f54bf60 100644
--- a/generateIterator.go
+++ b/generateIterator.go
@@ -6,7 +6,7 @@ import (
)
// only make one of these for each message in the protobuf file
-func newIter(w io.Writer, FRUIT, APPLE, APPLES, COLOR, LOCK string) {
+func newIter(w io.Writer, FRUIT, APPLE, APPLES, LOCK string) {
fmt.Fprintln(w, "// DEFINE THE ITERATOR. is unique to the "+APPLE+" protobuf message")
fmt.Fprintln(w, "// itializes a new iterator.")
fmt.Fprintln(w, "func New"+APPLE+"Iterator(things []*"+APPLE+") *"+APPLE+"Iterator {")