Skip to content

Commit

Permalink
decode: Cleanup old unused help system code
Browse files Browse the repository at this point in the history
  • Loading branch information
wader committed Mar 28, 2023
1 parent 4a102df commit a6c4db7
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions pkg/decode/format.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a6c4db7

Please sign in to comment.