Declare a Targeted Go Version in go.mod

The IDE is aware of targeted Go versions so you can make the most of them

The IDE reads the go directive in the go.mod file when it analyzes files.

You don't need to do anything to use this feature. However, the IDE might suggest new operations based on the difference between the project SDK and the targeted Go version via go.mod.


Related Resources

Improve Code Readability and Navigation
Improve Code Readability and Navigation
Discover how to manage code visibility with code folding in Go
Create a Function in Another Package
Create a Function in Another Package
Type a non-existing function name and generate its implementation in a package of your choice.
Empower your `Printf`-like functions with coding assistance
Empower your `Printf`-like functions with coding assistance
Provide hints and highlights for message formats in custom `Printf`-like functions.