Shermans's Notes
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

July 18th, 2021

Todo

Today I learned (Notes)

  • #VSCode #golang
    • Had issues with multiple modes in a single workspace. Turns out the language server gopls does currently suppport this by default. Casues a lot of import errors, which disables the server pretty much until resolved. While the fix has been in for a while,it doesn’t seem to have become the default. To enable experimental support add this snippit to the relevent settings.json:
1
2
3
4
5
6
7
8
  "gopls": {
  
    "buildFlags": [
      "-tags=wireinject"
    ],
    "experimentalWorkspaceModule": true
  },
}

Tomorow’s Tasks