Skip to content

docs: link pkg.go.dev to the v2 module path - #14

Merged
DaudAhmadJF merged 1 commit into
mainfrom
docs/pkg-go-dev-v2-link
Nov 5, 2026
Merged

DaudAhmadJF merged 1 commit into
mainfrom
docs/pkg-go-dev-v2-link

Conversation

@DaudAhmadJF

Copy link
Copy Markdown
Member

A Go module at major version 2 or above carries the version in its path, so github.com/IPGeolocation/cli and github.com/IPGeolocation/cli/v2 are separate modules on pkg.go.dev. The unsuffixed link served v1.0.3 from January 2026, not the current release, so readers following it saw documentation for a version this repository no longer builds.

Point the link at /v2, which serves v2.1.2.

A Go module at major version 2 or above carries the version in its path, so
github.com/IPGeolocation/cli and github.com/IPGeolocation/cli/v2 are separate
modules on pkg.go.dev. The unsuffixed link served v1.0.3 from January 2026,
not the current release, so readers following it saw documentation for a
version this repository no longer builds.

Point the link at /v2, which serves v2.1.2.
@DaudAhmadJF
DaudAhmadJF merged commit 98f7f90 into main Nov 5, 2026
5 checks passed
@DaudAhmadJF
DaudAhmadJF deleted the docs/pkg-go-dev-v2-link branch November 5, 2026 20:38
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