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

go get stan.go fails #272

Closed
coffeefedora opened this issue Jun 10, 2019 · 4 comments
Closed

go get stan.go fails #272

coffeefedora opened this issue Jun 10, 2019 · 4 comments

Comments

@coffeefedora
Copy link

this is similiar to nats-io/nats.go#478

i have Go1.12.5 windows/amd64 on Windows 10 desktop.

my project is not inside a go/src tree.

output from the command:

go get github.com/nats-io/stan.go
go: finding github.com/nats-io/stan.go v0.5.0
go: finding github.com/gogo/protobuf v1.2.1
go: finding github.com/kisielk/errcheck v1.1.0
go: finding github.com/kisielk/gotool v1.0.0
go: finding golang.org/x/tools v0.0.0-20180221164845-07fd8470d635
CreateFile github.com/nats-io/stan.go: The system cannot find the path specified.

@derekcollison
Copy link
Member

go get github.com/nats-io/stan.go/

Note trailing slash.

@coffeefedora
Copy link
Author

go get github.com/nats-io/stan.go/
CreateFile github.com/nats-io/stan.go: The system cannot find the path specified.

still fails

@coffeefedora
Copy link
Author

go get github.com/nats-io/stan.go/@latest
go: downloading github.com/nats-io/stan.go v0.5.0
go: extracting github.com/nats-io/stan.go v0.5.0

this seems to have worked.

the go get command should be able to work without requiring @latest trailing it.

@derekcollison
Copy link
Member

I agree, they have an issue posted for a fix.

https://github.com/golang/go/milestone/95

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