mirror of
https://github.com/wader/fq.git
synced 2024-12-22 21:01:37 +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
|
RootArray bool
|
||||||
RootName string
|
RootName string
|
||||||
Dependencies []Dependency
|
Dependencies []Dependency
|
||||||
Help FormatHelp
|
|
||||||
Functions []string
|
Functions []string
|
||||||
SkipDecodeFunction bool
|
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 {
|
func FormatFn(d func(d *D) any) Group {
|
||||||
return Group{{
|
return Group{{
|
||||||
DecodeFn: d,
|
DecodeFn: d,
|
||||||
|
Loading…
Reference in New Issue
Block a user