mirror of
https://github.com/securego/gosec.git
synced 2024-12-24 11:35:52 +00:00
Update local installation instruction (#703)
Update local installation instruction for Go1.16+.
This commit is contained in:
parent
1933cba5b5
commit
991dd94f3a
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue