Skip to content

[Bug]: Importing module following instructions doesn't work #250

@bloveless

Description

@bloveless

What happened?

The current instructions state

go get github.com/a2aproject/a2a-go/v1

this 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/v1

I 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.3

Results 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.3

Same 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.3

Correct 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions