Skip to content

doc: update install instructions for v2.#331

Merged
Bobgy merged 1 commit intomasterfrom
v2doc
Sep 2, 2025
Merged

doc: update install instructions for v2.#331
Bobgy merged 1 commit intomasterfrom
v2doc

Conversation

@Bobgy
Copy link
Copy Markdown
Collaborator

@Bobgy Bobgy commented Sep 2, 2025

No description provided.

@Bobgy Bobgy merged commit fe0155c into master Sep 2, 2025
5 checks passed
@Bobgy Bobgy deleted the v2doc branch September 2, 2025 02:51

```shell
go install github.com/google/go-licenses@latest
go get -tool github.com/google/go-licenses/v2@latest
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Bobgy I doubt this is correct. Using Go 1.25, I ran your command and got this result:

$ go get -tool github.com/google/go-licenses/v2@latest
go: go.mod file not found in current directory or any parent directory.
        'go get' is no longer supported outside a module.
        To build and install a command, use 'go install' with a version,
        like 'go install example.com/cmd@latest'
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for reporting that! So what's the latest canonical way to install in go?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is #336 right?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess so.

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

Successfully merging this pull request may close these issues.

2 participants