From 991dd94f3a9dd09391e49db553575af39725494c Mon Sep 17 00:00:00 2001 From: nobishii <43101415+nobishino@users.noreply.github.com> Date: Wed, 6 Oct 2021 02:33:55 +0900 Subject: [PATCH] Update local installation instruction (#703) Update local installation instruction for Go1.16+. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index dd97d8c..6668942 100644 --- a/README.md +++ b/README.md @@ -113,6 +113,14 @@ jobs: ### Local Installation +#### Go 1.16+ + +```bash +go install github.com/securego/gosec/v2/cmd/gosec@latest +``` + +#### Go version < 1.16 + ```bash go get -u github.com/securego/gosec/v2/cmd/gosec ```