What the weird files '!' and 'export' are and where do they come from?
I've checked the .bash_profile file and found this lines:

&gt; export GOPATH=$HOME/go
&gt; export PATH=$GOPATH:$GOPATH/bin:$PATH
&gt; !


It looks like I made a mistake when I ran console command during GO installation. I've removed this '>' symbols and now everything is ok.