docgen
This commit is contained in:
parent
07f86d669b
commit
4406b25c0f
1 changed files with 19 additions and 0 deletions
|
|
@ -129,6 +129,25 @@ Example:
|
||||||
Name string `yaml:name`
|
Name string `yaml:name`
|
||||||
}
|
}
|
||||||
<
|
<
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
*struct_tags.add()*
|
||||||
|
`struct_tags.add`({...})
|
||||||
|
tags to a struct under the cursor
|
||||||
|
Parameters ~
|
||||||
|
{...} `(string)` Tags to add to the struct fields. If not provided, it will use [config.tag.default_tag]
|
||||||
|
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
*struct_tags.remove()*
|
||||||
|
`struct_tags.remove`({...})
|
||||||
|
tags from a struct under the cursor
|
||||||
|
Parameters ~
|
||||||
|
{...} `(string)` Tags to add to the struct fields. If not provided, it will use [config.tag.default_tag]
|
||||||
|
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
*struct_tags.clear()*
|
||||||
|
`struct_tags.clear`()
|
||||||
|
all tags from a struct under the cursor
|
||||||
|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue