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:
parent
4a102df526
commit
a6c4db75fd
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user