switch to go modules

This commit is contained in:
Alex
2019-07-31 00:42:41 -07:00
parent bb5449fa8b
commit b8954a7f99
5 changed files with 68 additions and 83 deletions

21
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,21 @@
{
"go.useLanguageServer": true,
"go.alternateTools": {
"go-langserver": "gopls"
},
"go.languageServerExperimentalFeatures": {
"format": true,
"autoComplete": true
},
"[go]": {
"editor.snippetSuggestions": "none",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
},
"gopls": {
"usePlaceholders": true,
"enhancedHover": true
}
}