Closed jaggerwang closed 6 years ago
golang tries to enforce a certain code style. This is just one part of it. https://github.com/golang/go/wiki/CodeReviewComments#doc-comments
Either add documentation to the exported types or methods or just don't export them if they are only used in the current package alone.
OK, got it!
Also I don't believe go-langserver reports those issues. That would be vscode-go integration with go-lint.
This is really annoying as sometimes the exported type or method is only used inside the project and there is nothing need to comment out.