feat(gotests): generate tests only for exported func
docs(gotests): generate test for exported funcs
This commit is contained in:
parent
c5096aacc0
commit
b4fd34ec17
4 changed files with 20 additions and 0 deletions
|
|
@ -93,6 +93,12 @@ Generate all tests for all functions/methods in current file
|
|||
:GoTestsAll
|
||||
```
|
||||
|
||||
Generate tests only for exported functions/methods in current file
|
||||
|
||||
```vim
|
||||
:GoTestsExp
|
||||
```
|
||||
|
||||
7. Run `go generate` command
|
||||
|
||||
```vim
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue