To select a part of your code, drag your mouse while pressing Shift+Alt.

Column selection

GoLand tips, #2083