gotools/README.md
2023-08-06 01:53:05 +03:00

22 lines
724 B
Markdown

# Golang Tools
[Install extension from Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=neonxp.gotools)
[Install extension from Open-VSX](https://open-vsx.org/extension/neonxp/gotools) (codeserver/vscodium/gitpod)
Extensions with frequently used snippets and code actions for productive go development.
Extension in active development! Your contribution is always welcome :)
# Snippets
| Prefix| Description|
| :---- |:----------:|
| `pkg` | Package header line |
| `construct` | Constructor for structure type |
| `iferr` |if err := fuction(); err != nil { ... }|
# Code actions
`Add error checking` - adds stub error checking to current line:
<img src="/wraperror.gif" width="500" />