Introduction
Recently, while writing Golang code, I needed to isolate certain constants in the code during the build process by using Golang's built-in build tags feature. To achieve this, specific startup parameters for gopls must be configured for correct code indexing. However, gopls configuration needs to be done at the project level, as global configuration might interfere with other projects.
So, how can we configure it?