Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't figure out how to build more complex examples #11

Open
adrianco opened this issue Oct 18, 2016 · 1 comment
Open

Can't figure out how to build more complex examples #11

adrianco opened this issue Oct 18, 2016 · 1 comment

Comments

@adrianco
Copy link

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
@jeremyforan
Copy link

I am having a similar experience.

stat /Users/jeremyforan/go/src/jeremyforan/snmp/configuration.go: no such file or directory

but I can run cat on the file and clearly see I have the correct path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants