GoLand: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 14: Line 14:


For more details see: {{Internal|Go_Language_Modularization#Module-Aware_or_GOPATH_Mode|Module-Aware or <tt>GOPATH</tt> Mode}}
For more details see: {{Internal|Go_Language_Modularization#Module-Aware_or_GOPATH_Mode|Module-Aware or <tt>GOPATH</tt> Mode}}
=Turn Off "Optimize Imports oh the Fly"=
Preferences → Go → Imports → Uncheck "Optimize imports on the fly"

Revision as of 21:09, 28 September 2023

Internal

Overview

Building

Also see:

Building Packages

Module-Aware or GOPATH Mode

Module-aware mode is turned on by default.

To turn it off: Preferences → Go → Go Modules → Turn off "Enable Go modules integration".

Then set the correct GOPATH in Preferences → Go → GOPATH → Project GOPATH.

For more details see:

Module-Aware or GOPATH Mode

Turn Off "Optimize Imports oh the Fly"

Preferences → Go → Imports → Uncheck "Optimize imports on the fly"