I am trying to cross compile some Go code to a windows target (based on this guide https://hub.docker.com/_/golang/):
$ docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp -e GOOS=windows -e GOARCH=386 golang:1.5 go get github.com/gorilla/websocket && go build -v
conn.go:8:2: cannot find package "github.com/gorilla/websocket" in any of:
/usr/lib/go/src/github.com/gorilla/websocket (from $GOROOT)
/home/mark/devel/gocode/src/github.com/gorilla/websocket (from $GOPATH)
I try to compile this: https://github.com/gorilla/websocket/tree/master/examples/chat) ...but I can not figure out the correct command line :(