﻿define('DISALLOW_FILE_EDIT', true);
define('DISALLOW_FILE_MODS', true);<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>/dev/head &#187; GOROOT</title>
	<atom:link href="http://devhead.ru/cat/goroot/feed" rel="self" type="application/rss+xml" />
	<link>http://devhead.ru</link>
	<description>Статьи и видео уроки</description>
	<lastBuildDate>Mon, 30 Jan 2017 11:12:34 +0000</lastBuildDate>
	<language>ru-RU</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.37</generator>
	<item>
		<title>Correct GOPATH and GOROOT in Ubuntu 14.04</title>
		<link>http://devhead.ru/read/correct-gopath-and-goroot-in-ubuntu</link>
		<comments>http://devhead.ru/read/correct-gopath-and-goroot-in-ubuntu#comments</comments>
		<pubDate>Sun, 27 Jul 2014 04:56:42 +0000</pubDate>
		<dc:creator><![CDATA[andreykyz]]></dc:creator>
				<category><![CDATA[Статьи]]></category>
		<category><![CDATA[golang]]></category>
		<category><![CDATA[GOPATH]]></category>
		<category><![CDATA[GOROOT]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://devhead.ru/?p=2098</guid>
		<description><![CDATA[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. [&#8230;]]]></description>
				<content:encoded><![CDATA[<h3>If you get something like this:</h3>
<blockquote><p>package github.com/gin-gonic/gin: cannot download, $GOPATH not set. For more details see: go help gopath</p></blockquote>
<p>or this:</p>
<blockquote><p>go tool: no such tool "6g"</p></blockquote>
<p>And your favorit GNU/Linux distribution named Ubuntu.</p>
<h3>Let see:</h3>
<p>First! Install golang-gcc and gotool etc. from Ubuntu repository:</p>
<blockquote><p>sudo apt-get install golang golang-go.tools gccgo-go git mercurial</p></blockquote>
<p>Next. Set correct GOROOT, GOPATH and PATH for you user.</p>
<p>Just add down code in to ~/.bashrc:</p>
<blockquote><p>export GOROOT=/usr/lib/go<br />
export GOPATH=$HOME/go<br />
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin</p></blockquote>
<p>Now, you can run your code:</p>
<blockquote><p>$ go run foo.go<br />
Hello, 世界</p></blockquote>
<p>or download some library into your GOPATH</p>
<blockquote><p> go get -u github.com/gopherjs/gopherjs</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://devhead.ru/read/correct-gopath-and-goroot-in-ubuntu/feed</wfw:commentRss>
		<slash:comments>4362</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->