Need instructions in README for getting package dependencies. #1

Open
opened 2018-02-01 12:28:09 -05:00 by keithrbennett · 2 comments
keithrbennett commented 2018-02-01 12:28:09 -05:00 (Migrated from github.com)

Greetings Sau Sheong!

I don't know anything about go, so maybe this is an unreasonable request, but could you add to the README instructions for building this app from scratch? Specifically, when I do a go build main.go I get:

main.go:13:2: cannot find package "github.com/disintegration/gift" in any of:
	/usr/local/Cellar/go/1.9.3/libexec/src/github.com/disintegration/gift (from $GOROOT)
	/usr/local/go/bin/src/github.com/disintegration/gift (from $GOPATH)
main.go:14:2: cannot find package "github.com/nsf/termbox-go" in any of:
	/usr/local/Cellar/go/1.9.3/libexec/src/github.com/nsf/termbox-go (from $GOROOT)
	/usr/local/go/bin/src/github.com/nsf/termbox-go (from $GOPATH)

Is there something in go analogous to Ruby's gem install that needs to be run?

Thank you.

Greetings Sau Sheong! I don't know anything about go, so maybe this is an unreasonable request, but could you add to the README instructions for building this app from scratch? Specifically, when I do a `go build main.go` I get: ``` main.go:13:2: cannot find package "github.com/disintegration/gift" in any of: /usr/local/Cellar/go/1.9.3/libexec/src/github.com/disintegration/gift (from $GOROOT) /usr/local/go/bin/src/github.com/disintegration/gift (from $GOPATH) main.go:14:2: cannot find package "github.com/nsf/termbox-go" in any of: /usr/local/Cellar/go/1.9.3/libexec/src/github.com/nsf/termbox-go (from $GOROOT) /usr/local/go/bin/src/github.com/nsf/termbox-go (from $GOPATH) ``` Is there something in go analogous to Ruby's `gem install` that needs to be run? Thank you.
steevivo commented 2018-02-02 10:54:36 -05:00 (Migrated from github.com)
see https://github.com/disintegration/gift & https://github.com/nsf/termbox-go
vosmith commented 2018-02-02 20:04:40 -05:00 (Migrated from github.com)

@keithrbennett yes if you use go get github.com/disintegration/gift github.com/nsf/termbox-go it should install it for you.

@keithrbennett yes if you use `go get github.com/disintegration/gift github.com/nsf/termbox-go` it should install it for you.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sausheong/invaders#1
No description provided.