docs(iferr): add to config & tools
This commit is contained in:
parent
eb19ecdc05
commit
e4942aa070
1 changed files with 2 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ require("gopher").setup {
|
||||||
gomodifytags = "gomodifytags",
|
gomodifytags = "gomodifytags",
|
||||||
gotests = "~/go/bin/gotests", -- also you can set custom command path
|
gotests = "~/go/bin/gotests", -- also you can set custom command path
|
||||||
impl = "impl",
|
impl = "impl",
|
||||||
|
iferr = "iferr",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
@ -52,6 +53,7 @@ It will install next tools:
|
||||||
- [gomodifytags](https://github.com/fatih/gomodifytags)
|
- [gomodifytags](https://github.com/fatih/gomodifytags)
|
||||||
- [impl](https://github.com/josharian/impl)
|
- [impl](https://github.com/josharian/impl)
|
||||||
- [gotests](https://github.com/cweill/gotests)
|
- [gotests](https://github.com/cweill/gotests)
|
||||||
|
- [iferr](https://github.com/koron/iferr)
|
||||||
|
|
||||||
2. Modify struct tags:
|
2. Modify struct tags:
|
||||||
By default `json` tag will be added/removed, if not set:
|
By default `json` tag will be added/removed, if not set:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue