When I start Geany from terminal, go build works fine, and env shows correct $GOPATH. But when I start it from DE menu (XFCE Whisker), I have that problem I've described (go build gives an error, and env does not show $GOPATH).
Is set my $GOPATH in .bashrc script.