Skip to content

Commit 991dd94

Browse files
authored
Update local installation instruction (#703)
Update local installation instruction for Go1.16+.
1 parent 1933cba commit 991dd94

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,14 @@ jobs:
113113

114114
### Local Installation
115115

116+
#### Go 1.16+
117+
118+
```bash
119+
go install github.com/securego/gosec/v2/cmd/gosec@latest
120+
```
121+
122+
#### Go version < 1.16
123+
116124
```bash
117125
go get -u github.com/securego/gosec/v2/cmd/gosec
118126
```

0 commit comments

Comments
 (0)