Help me import the Go SDK in my project.
Summary
go get github.com/microsoft/dev-tunnels/go/tunnels@latest fails with an invalid version: unknown revision 000000000000 error. This appears to be a Go modules, submodule tagging, or Go proxy resolution issue for users consuming the Go SDK from the microsoft/dev-tunnels repository.
Another Example:
go get -u github.com/microsoft/dev-tunnels/go@latest
go: github.com/microsoft/dev-tunnels/go@v0.0.0-00010101000000-000000000000: invalid version: unknown revision 000000000000
Steps to Reproduce
- Set up a fresh Go project.
- Run in the project directory:
go get github.com/microsoft/dev-tunnels/go/tunnels@latest
or
go get github.com/microsoft/dev-tunnels/go@latest
- Observe the error:
go: github.com/microsoft/dev-tunnels/go@v0.0.0-00010101000000-000000000000: invalid version: unknown revision 000000000000
Environment
- Go version: 1.22
- Host OS: (macOS/Linux/Windows)
- Proxy: (corporate GOPROXY and/or direct)
- Behind GOPROXY
Workaround
Pin to an explicit version (e.g., v0.1.19):
go get github.com/microsoft/dev-tunnels/go/tunnels@v0.1.19
Suggestion
- Please consider always creating explicit Go module tags under the
go/ subfolder and updating releases so that proxies and @latest resolutions work reliably for consumers.
- Consider documenting the required
go get syntax and which versions/tags are available on pkg.go.dev.
- If use via GOPROXY is not currently supported, please clarify in the documentation and suggest workarounds or an alternate recommended installation approach.
Request
- Is it possible to ensure future releases always tag the
go/ module in a way consumable via go get ...@latest and proxies?
- Can you add a troubleshooting section for Go module users in non-GitHub-mirror-only environments?
Thank you for supporting Go users!
Help me import the Go SDK in my project.
Summary
go get github.com/microsoft/dev-tunnels/go/tunnels@latestfails with aninvalid version: unknown revision 000000000000error. This appears to be a Go modules, submodule tagging, or Go proxy resolution issue for users consuming the Go SDK from themicrosoft/dev-tunnelsrepository.Another Example:
Steps to Reproduce
Environment
Workaround
Pin to an explicit version (e.g., v0.1.19):
Suggestion
go/subfolder and updating releases so that proxies and@latestresolutions work reliably for consumers.go getsyntax and which versions/tags are available on pkg.go.dev.Request
go/module in a way consumable viago get ...@latestand proxies?Thank you for supporting Go users!