aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlexander Kiryukhin <a.kiryukhin@mail.ru>2021-03-19 02:22:55 +0300
committerAlexander Kiryukhin <a.kiryukhin@mail.ru>2021-03-19 02:22:55 +0300
commit3d94211018aa28c32605e001e62b3dbe7f9305f3 (patch)
tree50c42120d7f4030700a57198340c1c36d87cea15 /README.md
v0.0.1
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..20476c9
--- /dev/null
+++ b/README.md
@@ -0,0 +1,15 @@
+# Golang snippets
+
+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` |
+| `tyi` | Type interface declaration | ```type test interface { }``` |
+| `tys` | Type structure declaration | ```type test struct { }``` |
+| `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 |
+