Update local installation instruction (#703)

Update local installation instruction for Go1.16+.
This commit is contained in:
nobishii 2021-10-06 02:33:55 +09:00 committed by GitHub
parent 1933cba5b5
commit 991dd94f3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,6 +113,14 @@ jobs:
### Local Installation ### Local Installation
#### Go 1.16+
```bash
go install github.com/securego/gosec/v2/cmd/gosec@latest
```
#### Go version < 1.16
```bash ```bash
go get -u github.com/securego/gosec/v2/cmd/gosec go get -u github.com/securego/gosec/v2/cmd/gosec
``` ```