From 6b7dfce2f31fd73fa88e38644fb2c03ee0add4fe Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Wed, 15 Oct 2025 18:17:06 -0400 Subject: [PATCH] generate: Add option flag to Field struct --- generate/protocol.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/generate/protocol.go b/generate/protocol.go index a733f1b..6ebd99c 100644 --- a/generate/protocol.go +++ b/generate/protocol.go @@ -95,9 +95,10 @@ func (typ TypeTableDefined) String() string { } type Field struct { - Name string - Doc string - Type Type + Name string + Doc string + Type Type + Option bool } func (field Field) String() string {