From c79a99f09cfa80f685db6482d2b3a0a1f9b516e3 Mon Sep 17 00:00:00 2001 From: Narthana Epa Date: Thu, 24 Oct 2024 21:29:26 +1100 Subject: [PATCH] Update install instruction with v2 Ever since the module import path was amended to include "v2" in https://github.com/alexkohler/nakedret/pull/27, the install instructions will only install the v1 module. This PR updates the install instructions to match the current import path. Fixes #36 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e30a0cd..54f6ce6 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ nakedret is a Go static analysis tool to find naked returns in functions greater Install Nakedret via go install: ```cmd -go install github.com/alexkohler/nakedret/cmd/nakedret@latest +go install github.com/alexkohler/nakedret/v2/cmd/nakedret@latest ``` If you have not already added your `GOPATH/bin` directory to your `PATH` environment variable then you will need to do so.