17 lines
858 B
Markdown
17 lines
858 B
Markdown
# Golang snippets
|
|
|
|
[![Version](https://vsmarketplacebadge.apphb.com/version/neonxp.gotools.svg)](https://marketplace.visualstudio.com/items?itemName=neonxp.gotools)
|
|
[![Installs](https://vsmarketplacebadge.apphb.com/installs/neonxp.gotools.svg)](https://marketplace.visualstudio.com/items?itemName=neonxp.gotools)
|
|
|
|
[Install extension](https://marketplace.visualstudio.com/items?itemName=neonxp.gotools)
|
|
|
|
Extensions with frequently used snippets for productive go development.
|
|
|
|
Extension in active development! Your contribution is always welcome :)
|
|
|
|
| Prefix| Description | Example |
|
|
| :---- |:-----------:| -------:|
|
|
| `pkg` | Package header line | `package test` |
|
|
| `construct` | Constructor for structure type | see in action |
|
|
| `var` | Variable with type and value | `var test string = "hello"` |
|
|
| `stack` | Stack from array of types | see in action |
|