mirror of
https://github.com/wader/fq.git
synced 2024-12-22 21:01:37 +03:00
Merge pull request #626 from wader/cleanup-old-help
decode: Cleanup old unused help system code
This commit is contained in:
commit
664bc3b1b7
@ -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