mirror of
https://github.com/rafamadriz/friendly-snippets
synced 2024-09-16 22:14:02 +02:00
add-xml-tag-go-snippet (#377)
This commit is contained in:
parent
9e99f7d64a
commit
53d3df271d
1 changed files with 5 additions and 0 deletions
|
@ -279,6 +279,11 @@
|
|||
"body": "`json:\"$1\"`",
|
||||
"description": "Snippet for struct json tag"
|
||||
},
|
||||
"xml tag": {
|
||||
"prefix": "xml",
|
||||
"body": "`xml:\"$1\"`",
|
||||
"description": "Snippet for struct xml tag"
|
||||
},
|
||||
"if key in a map": {
|
||||
"prefix": "om",
|
||||
"body": "if ${1:value}, ok := ${2:map}[${3:key}]; ok {\n\t$4\n}"
|
||||
|
|
Loading…
Reference in a new issue