Skip to content

GoLand

Comprehensive GoLand shortcuts and workflows for Go development with modules, testing, and microservices.

General Shortcuts

Windows/LinuxmacOSDescription
Ctrl+Shift+ACmd+Shift+AFind Action
Ctrl+Shift+NCmd+Shift+OGo to File
Ctrl+NCmd+OGo to Type
Ctrl+Shift+Alt+NCmd+Option+OGo to Symbol
Ctrl+ECmd+ERecent Files
Ctrl+GCmd+LGo to Line
Ctrl+F12Cmd+F12File Structure

Go-Specific Features

Windows/LinuxmacOSDescription
Ctrl+Shift+F10Ctrl+Shift+RRun Go File
Alt+Shift+F10Option+Shift+RRun Go Application
Ctrl+Shift+ICmd+Shift+IAuto Import
Ctrl+Alt+Shift+TCmd+Option+Shift+TRefactor This
gofmt + Ctrl+Sgofmt + Cmd+SFormat on Save

Testing

Windows/LinuxmacOSDescription
Ctrl+Shift+F10Ctrl+Shift+RRun Test
Ctrl+Shift+F9Ctrl+Shift+DDebug Test
go testgo testRun Package Tests
go test -vgo test -vRun Verbose Tests