News for hackers. Stuff that matters.
Re:How to start a Go project in 2023 by Scotch3297 on Wednesday May 24, 2023 @04:25AM (#36055408)
Well, you can configure your editor to lint your test files with build tags and that's the end of the issue. At least on VSCode and Goland you can. I think it's way cleaner to have your integration tests with a build tag rather than this extra piece of code. If you don't have tests all over the place and you are moderately organized with your folder structure, there is no reason why build tags should represent a discoverability issue.

There are no comments on this comment yet.