aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/fzipp/gocyclo/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/fzipp/gocyclo/README.md')
-rw-r--r--vendor/github.com/fzipp/gocyclo/README.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/vendor/github.com/fzipp/gocyclo/README.md b/vendor/github.com/fzipp/gocyclo/README.md
index f1056934c..d357b8ef7 100644
--- a/vendor/github.com/fzipp/gocyclo/README.md
+++ b/vendor/github.com/fzipp/gocyclo/README.md
@@ -1,6 +1,7 @@
# gocyclo
[![PkgGoDev](https://pkg.go.dev/badge/github.com/fzipp/gocyclo)](https://pkg.go.dev/github.com/fzipp/gocyclo)
+![Build Status](https://github.com/fzipp/gocyclo/workflows/build/badge.svg)
[![Go Report Card](https://goreportcard.com/badge/github.com/fzipp/gocyclo)](https://goreportcard.com/report/github.com/fzipp/gocyclo)
Gocyclo calculates
@@ -31,7 +32,7 @@ to smaller functions.
To install the `gocyclo` command, run
```
-$ go get github.com/fzipp/gocyclo/cmd/gocyclo
+$ go install github.com/fzipp/gocyclo/cmd/gocyclo@latest
```
and put the resulting binary in one of your PATH directories if
@@ -50,8 +51,6 @@ Flags:
-top N show the top N most complex functions only
-avg, -avg-short show the average complexity over all functions;
the short option prints the value without a label
- -total, -total-short show the total complexity for all functions;
- the short option prints the value without a label
-ignore REGEX exclude files matching the given regular expression
The output fields for each line are: