Correct GOPATH and GOROOT in Ubuntu 14.04
If you get something like this:
package github.com/gin-gonic/gin: cannot download, $GOPATH not set. For more details see: go help gopath
or this:
go tool: no such tool "6g"
And your favorit GNU/Linux distribution named Ubuntu.
Let see:
First! Install golang-gcc and gotool etc. from Ubuntu repository:
sudo apt-get install golang golang-go.tools gccgo-go git mercurial
Next. Set correct GOROOT, GOPATH and PATH for you user.
Just add down code in to ~/.bashrc:
export GOROOT=/usr/lib/go
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
Now, you can run your code:
$ go run foo.go
Hello, 世界
or download some library into your GOPATH
go get -u github.com/gopherjs/gopherjs
16 сентября 2026 / 02:46
Today's highlights are here ????? ????? VIP ??????
16 сентября 2026 / 02:48
Buying in volume changes what matters, and the listings under https://npprteamshop.com/en/facebook/business-managers/verified-bm/ are grouped by geo so a team can order ten European portfolios without mixing registration countries. Bulk requests are prepared with consistent ad account slots, active billing placeholders and aged admin profiles rather than freshly created ones. Anyone coordinating several buyers at once can message NPPRTeamShop support before payment to confirm stock and timing for the whole batch.|
16 сентября 2026 / 02:52
Today's most important ?????? ????? ??????
16 сентября 2026 / 02:53
Сборка связки с нуля отнимает недели, а фан-страница Facebook с историей позволяет пропустить этап накопления первичных сигналов и сразу перейти к тестам. Каталог NPPR Team удобно фильтровать по возрасту и региону, а карточка товара содержит данные о заполненности профиля, отзывах и рубрике бизнеса. Товар отдаётся быстро после оплаты, доступы включают cookies и почту восстановления, а консультант подскажет безопасную схему прогрева перед подключением к рекламному кабинету.