To run a main or test function, click the Run icon in the gutter and select the necessary action (Run, Debug, Coverage).

Run from the gutter

GoLand tips of the day, build 2078