@@ -238,9 +238,9 @@ Inspects source code for security problems by scanning the Go AST.
238
238
| `go-sec-repo-mod` | Run `'cd $(mod_root); gosec [$ARGS] ./...'` for each module in the repo
239
239
| `go-sec-repo-pkg` | Run `'gosec [$ARGS] ./...'` in repo root folder
240
240
241
- ##### Install
241
+ ##### Install (via [bingo](https://github.com/TekWizely/bingo))
242
242
```
243
- go get github.com/securego/gosec/v2/cmd/gosec
243
+ bingo install github.com/securego/gosec/v2/cmd/gosec
244
244
```
245
245
246
246
##### Help
@@ -304,9 +304,9 @@ Updates your Go import lines, adding missing ones and removing unreferenced ones
304
304
|--------------|------------
305
305
| `go-imports` | Run `'goimports -l -d [$ARGS] $FILE'` for each staged .go file
306
306
307
- ##### Install
307
+ ##### Install (via [bingo](https://github.com/TekWizely/bingo))
308
308
```
309
- go get -u golang.org/x/tools/cmd/goimports
309
+ bingo install golang.org/x/tools/cmd/goimports
310
310
```
311
311
312
312
##### Useful Args
@@ -334,9 +334,9 @@ Implements a Go pretty-printer (like `go-fmt`) that also adds zero-value return
334
334
|--------------|------------
335
335
| `go-returns` | Run `'goreturns -l -d [$ARGS] $FILE'` for each staged .go file
336
336
337
- ##### Install
337
+ ##### Install (via [bingo](https://github.com/TekWizely/bingo))
338
338
```
339
- go get -u github.com/sqs/goreturns
339
+ bingo install github.com/sqs/goreturns
340
340
```
341
341
342
342
##### Useful Args
@@ -363,9 +363,9 @@ A linter for Go source code, meant to carry out the stylistic conventions put fo
363
363
|-----------|------------
364
364
| `go-lint` | Run `'golint -set_exit_status [$ARGS] $FILE'` for each staged .go file
365
365
366
- ##### Install
366
+ ##### Install (via [bingo](https://github.com/TekWizely/bingo))
367
367
```
368
- go get -u golang.org/x/lint/golint
368
+ bingo install golang.org/x/lint/golint
369
369
```
370
370
371
371
##### Help
@@ -384,9 +384,9 @@ go get -u golang.org/x/lint/golint
384
384
| `go-revive-mod` | Run `'cd $(mod_root $FILE); revive [$ARGS] ./...'` for each staged .go file
385
385
| `go-revive-repo-mod` | Run `'cd $(mod_root); revive [$ARGS] ./...'` for each module in the repo
386
386
387
- ##### Install
387
+ ##### Install (via [bingo](https://github.com/TekWizely/bingo))
388
388
```
389
- go get -u github.com/mgechev/revive
389
+ bingo install github.com/mgechev/revive
390
390
```
391
391
392
392
##### Useful Args
@@ -452,9 +452,9 @@ A FAST linter aggregator, with colored output, fewer false-positives, and suppor
452
452
| `golangci-lint-repo-mod` | Run `'cd $(mod_root); golangci-lint run [$ARGS] ./...'` for each module in the repo
453
453
| `golangci-lint-repo-pkg` | Run `'golangci-lint run [$ARGS] ./...'` in repo root folder
454
454
455
- ##### Install
455
+ ##### Install (via [bingo](https://github.com/TekWizely/bingo))
456
456
```
457
- go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
457
+ bingo install github.com/golangci/golangci-lint/cmd/golangci-lint
458
458
```
459
459
##### Useful Args
460
460
```
0 commit comments