Skip to content

fix: correct module path for Go v2+ module#37

Open
jybp wants to merge 1 commit intorender-oss:mainfrom
jybp:fix/go-module-v2-path
Open

fix: correct module path for Go v2+ module#37
jybp wants to merge 1 commit intorender-oss:mainfrom
jybp:fix/go-module-v2-path

Conversation

@jybp
Copy link
Copy Markdown

@jybp jybp commented Apr 17, 2026

Summary

Fix the module paths.

Starting with major version 2, module paths must have a major version suffix like /v2 that matches the major version.
https://go.dev/ref/mod#major-version-suffixes

Motivation

Make it compatible with go install and the Go toolchain

How to verify

go install github.com/render-oss/cli/v2@v2.15.1

Release notes

N/A

…ibility

Per the Go module specification, modules with major version v2 or higher
must include the major version suffix in their module path.

See: https://go.dev/blog/v2-go-modules
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.

1 participant