From a6c4db75fd9a527a23ee7c2a2c9c225c7fd061d0 Mon Sep 17 00:00:00 2001 From: Mattias Wadman Date: Tue, 28 Mar 2023 21:50:27 +0200 Subject: [PATCH] decode: Cleanup old unused help system code --- pkg/decode/format.go | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/pkg/decode/format.go b/pkg/decode/format.go index 4be04820..1e4c4b63 100644 --- a/pkg/decode/format.go +++ b/pkg/decode/format.go @@ -17,32 +17,10 @@ type Format struct { RootArray bool RootName string Dependencies []Dependency - Help FormatHelp Functions []string SkipDecodeFunction bool } -type HelpExample struct { - Comment string - Code string -} - -type HelpFunction struct { - Name string - Examples []HelpExample -} - -type HelpReference struct { - Title string - URL string -} - -type FormatHelp struct { - Notes string - Functions []HelpFunction - References []HelpReference -} - func FormatFn(d func(d *D) any) Group { return Group{{ DecodeFn: d,