-
Notifications
You must be signed in to change notification settings - Fork 71
[Bug]: Importing module following instructions doesn't work #250
Copy link
Copy link
Description
What happened?
The current instructions state
go get github.com/a2aproject/a2a-go/v1this results in
➜ go get github.com/a2aproject/a2a-go/v1
go: module github.com/a2aproject/a2a-go@upgrade found (v0.3.7), but does not contain package github.com/a2aproject/a2a-go/v1I believe that the instructions shouldn't have the v1 in it.
attempting to install the alpha version
go get github.com/a2aproject/a2a-go/v1@v1.0.0-alpha.3Results in
❯ go get github.com/a2aproject/a2a-go/v1@v1.0.0-alpha.3
go: github.com/a2aproject/a2a-go@v1.0.0-alpha.3: invalid version: go.mod has malformed module path "github.com/a2aproject/a2a-go/v1" at revision v1.0.0-alpha.3Same if I omit the v1 from the alpha import
➜ go get github.com/a2aproject/a2a-go@v1.0.0-alpha.3
go: github.com/a2aproject/a2a-go@v1.0.0-alpha.3: invalid version: go.mod has malformed module path "github.com/a2aproject/a2a-go/v1" at revision v1.0.0-alpha.3Correct me if I'm wrong but shouldn't the package version v1 be omitted from the module paths and imports until a v2? I believe that is what is stated in the go.mod docs unless I'm misinterpreting those.
Relevant log output
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels