Goland 2020.2 not ignoring go build tags

Answered

I've a folder with package main and a secondary package, so Goland IDE shows the following error:

 

But note that I've //go:build ignore so I imagine that IDE should ignore this file and don't show any error. This is my `Build tags` configuration:

0
2 comments
Official comment

Hi Ronaldo,

Could you please confirm that it works as expected on the latest version of GoLand (2021.3.2)?

thanks Daniil, updating the IDE resolved my problem.

1

Please sign in to leave a comment.