title: Systemd doesn't detect GOPATH (run without binary file)
body: <p>I wrote simple systemd service-file <code>goserver.service</code>:</p>
  
  <pre><code>[Unit]
  Description=Goserver
  
  [Service]
  ExecStart=/usr/bin/go run /home/denis/goserver/index.go
  
  [Install]
  WantedBy=multi-user.target
  </code></pre>
  
  <p>But when I try to run service and get status:</p>
  
  <pre><code>$ sudo systemctl status goserver.service
  </code></pre>
  
  <p>I get error:</p>
  
  <pre><code>мар 02 12:28:04 DV go[13627]: home/denis/goserver/index.go:6:2: cannot find package "gopkg.in/mgo.v2" in any of:
  мар 02 12:28:04 DV go[13627]:         /usr/lib/go-1.6/src/gopkg.in/mgo.v2 (from $GOROOT)
  мар 02 12:28:04 DV go[13627]:         ($GOPATH not set)
  </code></pre>
  
  <p>But <code>$GOPATH</code> is set with <code>export</code> command:</p>
  
  <pre><code>$ export GOPATH="/home/denis/goserver/"
  
  $ ls $GOPATH
  goserver.log  index.go  pkg  src  templates
  </code></pre>
  
  <p>And this command from command-line works fine:</p>
  
  <pre><code>$ /usr/bin/go run /home/denis/goserver/index.go
  </code></pre>
  
  <p>But if I use systemd service it doesn't work.</p>
  
  <p>How can I run systemd service with detected <code>$GOPATH</code>? (without binary file created by command <code>go build...</code>)</p>