Skip to content

Commit

Permalink
build: Fix so 'go get' works.
Browse files Browse the repository at this point in the history
Thanks @Luit van Drongelen. Closes #9.
  • Loading branch information
wdoekes committed May 4, 2017
1 parent dfc698b commit 8862313
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
9 changes: 7 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,13 @@ Installing

You may need to set up a go path first::

mkdir -p ~/.local/go
export GOPATH=~/.local/go
mkdir -p ~/go
export GOPATH=~/go

And check this out inside that::

git clone https://github.com/ossobv/gocollect \
$GOPATH/src/github.com/ossobv/gocollect

And install prerequisites::

Expand Down
3 changes: 2 additions & 1 deletion gocollect.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
package main

import (
"./gocollector"
"bytes"
"fmt"
getopt "github.com/kesselborn/go-getopt"
Expand All @@ -14,6 +13,8 @@ import (
"path"
"strings"
"time"

"github.com/ossobv/gocollect/gocollector"
)

// Initialized by -X ldflag. (Should be const, but is not allowed by the
Expand Down

0 comments on commit 8862313

Please sign in to comment.