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

38 lines
825 B
JSON
Raw Normal View History

2021-03-09 22:18:08 +00:00
{
"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"
}
}