Add iferr integration (#15)

* feat(iferr): add to installer & config

* feat(iferr): add first implementation

* docs(iferr): add
This commit is contained in:
Smirnov Oleksandr 2022-07-07 14:19:07 +03:00 committed by GitHub
parent 4b83da6d7f
commit eb19ecdc05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 35 additions and 2 deletions

View file

@ -130,12 +130,20 @@ Generate tests only for exported functions/methods in current file:
8. Generate doc comment
First set a cursor on **public** package/function/interface/struct and execure:
First set a cursor on **public** package/function/interface/struct and execute:
```vim
:GoCmt
```
## Thanks:
9. Generate `if err`
Set cursor on the line with **err** and execute:
```vim
:GoIfErr
```
## Thanks
- [go.nvim](https://github.com/ray-x/go.nvim)