From e8d5b6acf755e244abf511945f0199eaca027537 Mon Sep 17 00:00:00 2001 From: nobishino Date: Fri, 24 Sep 2021 17:03:40 +0900 Subject: [PATCH] Update local installation instruction Update local installation instruction for Go1.16+. --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index dd97d8cde2..66689427cb 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 ```