tastypl
tastypl copied to clipboard
The run fails with missing deps on OSX
Go runtime installed via Homebrew.
go version
go version go1.10.2 darwin/amd64
Session:
go run tastypl.go -input ../tastyworks_transactions_xxx.csv -printpl -positions
tastypl.go:28:2: cannot find package "github.com/golang/glog" in any of:
/usr/local/Cellar/go/1.10.2/libexec/src/github.com/golang/glog (from $GOROOT)
/Users/agrande/go/src/github.com/golang/glog (from $GOPATH)
tastypl.go:29:2: cannot find package "github.com/shopspring/decimal" in any of:
/usr/local/Cellar/go/1.10.2/libexec/src/github.com/shopspring/decimal (from $GOROOT)
/Users/agrande/go/src/github.com/shopspring/decimal (from $GOPATH)
tastypl.go:30:2: cannot find package "github.com/wcharczuk/go-chart" in any of:
/usr/local/Cellar/go/1.10.2/libexec/src/github.com/wcharczuk/go-chart (from $GOROOT)
/Users/agrande/go/src/github.com/wcharczuk/go-chart (from $GOPATH)
tastypl.go:31:2: cannot find package "github.com/wcharczuk/go-chart/util" in any of:
/usr/local/Cellar/go/1.10.2/libexec/src/github.com/wcharczuk/go-chart/util (from $GOROOT)
/Users/agrande/go/src/github.com/wcharczuk/go-chart/util (from $GOPATH)
Had to manually install additional modules:
go get github.com/golang/glog
go get github.com/shopspring/decimal
github.com/wcharczuk/go-chart