nvim/coc/extensions/node_modules/coc-go/snippets/gomod.json

37 lines
825 B
JSON

{
"module": {
"prefix": "mod",
"body": [
"module ${1:github.com/org/name}"
],
"description": "define the module path"
},
"go": {
"prefix": "go",
"body": [
"go ${1:1.13}"
],
"description": "set the expected language version"
},
"require": {
"prefix": "require",
"body": [
"require ${1:module} ${2:version}"
],
"description": "require a particular module at a given version or later"
},
"exclude": {
"prefix": "exclude",
"body": [
"exclude ${1:module} $(2:version}"
],
"description": "exclude a particular module version from use"
},
"replace": {
"prefix": "replace",
"body": [
"replace ${1:module} => ${2:replace}"
],
"description": "replace a module version with a different module version"
}
}