The example using docker to build works for simple hello.go, but I can't figure out the syntax for a more complex example. I'm just not familiar enough with go and docker to figure this out, sorry.
Could you extend the documentation to give a more general example?
Thanks
$ docker run --rm -it \
> -e GOOS=darwin \
> -v $(pwd):/src divan/golang:gotrace \
> go build -o /src/spigo-gotrace /src/spigo.go
/src/spigo.go:7:2: cannot find package "github.com/adrianco/spigo/actors/edda" in any of:
/usr/local/go/src/github.com/adrianco/spigo/actors/edda (from $GOROOT)
/go/src/github.com/adrianco/spigo/actors/edda (from $GOPATH)
... and many more similar errors
The example using docker to build works for simple hello.go, but I can't figure out the syntax for a more complex example. I'm just not familiar enough with go and docker to figure this out, sorry.
Could you extend the documentation to give a more general example?
Thanks