From 2ee954e18fb81870307b97805dadbd4e3e97faa7 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Wed, 15 Oct 2025 00:31:30 -0400 Subject: [PATCH] generate: Add bool data structure --- generate/protocol.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/generate/protocol.go b/generate/protocol.go index dd83bec..a733f1b 100644 --- a/generate/protocol.go +++ b/generate/protocol.go @@ -49,6 +49,12 @@ func (typ TypeFloat) String() string { return fmt.Sprintf("F%d", typ.Bits) } +type TypeBool struct { } + +func (TypeBool) String() string { + return "Bool" +} + type TypeString struct { } func (TypeString) String() string {