Goland 2020.2 not ignoring go build tags

已回答

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
正式评论

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

请先登录再写评论。