Skip to content

Commit

Permalink
update dev setup
Browse files Browse the repository at this point in the history
* no longer need a gopath in newer golang
* updated to go modules so no go get needed it seems
* didn't have the missing get problem this time
  • Loading branch information
timabell committed May 2, 2020
1 parent 234afb4 commit 6cad5c3
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions dev-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,11 @@ sudo apt install sqlite3

# Manually Download & run https://www.jetbrains.com/go/

# manually set goroot & gopath in goland
# manually set goroot in goland
echo $GOROOT
# /home/tim/.gvm/gos/go1.9.4
echo $GOPATH
# /home/tim/.gvm/pkgsets/go1.9.4/global:/home/tim/repo/go

# ================

# run this from project root
go get
# e.g. /home/tim/.gvm/gos/go1.9.4

# ================

# for windows build

# don't know why this isn't fetched with go-get
go get gopkg.in/natefinch/npipe.v2

sudo apt install gcc-mingw-w64-x86-64

0 comments on commit 6cad5c3

Please sign in to comment.