Add comment generator (#10)
* feat(_utils.ts): get package * feat(_utils.ts): get interface * feat(_utils.ts): update type annotations * feat(comments): first naive implementation * docs: add comment [skip ci]
This commit is contained in:
parent
40a2839eab
commit
0fcdceeb89
5 changed files with 97 additions and 2 deletions
|
|
@ -128,6 +128,14 @@ Generate tests only for exported functions/methods in current file
|
|||
:GoGenerate %
|
||||
```
|
||||
|
||||
8. Generate doc comment
|
||||
|
||||
First set a cursor on **public** package/function/interface/struct and execure:
|
||||
|
||||
```vim
|
||||
:GoCmt
|
||||
```
|
||||
|
||||
## Thanks
|
||||
|
||||
- [go.nvim](https://github.com/ray-x/go.nvim)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue