From 59c4ab21902e253fd74a706625a581bec928ccc1 Mon Sep 17 00:00:00 2001 From: Daud Ahmad Date: Fri, 6 Nov 2026 01:08:50 +0500 Subject: [PATCH] docs: link pkg.go.dev to the v2 module path 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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e35f81e..ebf7cc9 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Based on: - API version: 3.0.0 **Official Release:** -- Available on [**pkg.go.dev**](https://pkg.go.dev/github.com/IPGeolocation/cli) and [**GitHub Releases**](https://github.com/IPGeolocation/cli/releases) +- Available on [**pkg.go.dev**](https://pkg.go.dev/github.com/IPGeolocation/cli/v2) and [**GitHub Releases**](https://github.com/IPGeolocation/cli/releases) - Source Code: [**GitHub Repository**](https://github.com/IPGeolocation/cli) ## Table of Contents