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 ... pkg" says "@upgrade found (v0.51.0) but does not contain pkg" #1016

Open
chadmiller-saq opened this issue Nov 5, 2024 · 2 comments

Comments

@chadmiller-saq
Copy link

chadmiller-saq commented Nov 5, 2024

$ go get github.com/hatchet-dev/hatchet/pkg
go: module github.com/hatchet-dev/hatchet@upgrade found (v0.51.0), but does not contain package github.com/hatchet-dev/hatchet/pkg

Using go 1.23.2.

https://docs.hatchet.run/sdks/go-sdk says

**Installation**

Run the following to install the Hatchet Go SDK:

go get github.com/hatchet-dev/hatchet/pkg

and it isn't specific

$ go get github.com/hatchet-dev/hatchet/[email protected]
go: downloading github.com/hatchet-dev/hatchet v0.50.2
go: module github.com/hatchet-dev/[email protected] found, but does not contain package github.com/hatchet-dev/hatchet/pkg


$ go get github.com/hatchet-dev/hatchet/[email protected]
go: downloading github.com/hatchet-dev/hatchet v0.49.3
go: module github.com/hatchet-dev/[email protected] found, but does not contain package github.com/hatchet-dev/hatchet/pkg
@abelanger5
Copy link
Contributor

Hey @chadmiller-saq, apologies for the typo here - I believe the correct command is go get github.com/hatchet-dev/hatchet. I'm unsure of why we appended the /pkg here. We'll get the docs updated asap.

@chadmiller-saq
Copy link
Author

Maybe. Weird things happen there too. See #1021

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