Relative Content

Tag Archive for govisual-studio-code

VSCode GO language server and build tags

I have a logging module that works different for prod and dev. I use build tags for this. Everything compiles and works fine, but VSCode doesn’t understand what I’m doing and gives errors.

How to make VSCode ignore a Golang Function

There is anything in VSCode or Golang that can help ignoring a Function? For instance, a function has some errors, but its unused for the moment, but I need to test another functionality somewhere else in the project first, and I don’t want to comment out the code.