1
1
mirror of https://github.com/wader/fq.git synced 2024-12-22 12:51:38 +03:00

decode: Cleanup old unused help system code

This commit is contained in:
Mattias Wadman 2023-03-28 21:50:27 +02:00
parent 4a102df526
commit a6c4db75fd

View File

@ -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,