Detect Incorrect Usages

Formatting functions from packages such as pkg/errors, logrus or zap.

Tip Screenshot

You don't need to do anything particular to use this feature. When using any output formatting function which is similar to fmt.Printf/fmt.Println from a package such as pkg/errors, logrus, or zap. A small list of these functions are: errors.Errorf(), or logrus.WithError().Infof().


Related Resources

Check for Vulnerabilities
Check for Vulnerabilities
Analyze your codebase and highlight known vulnerabilities in go.mod
Rename Constants That Use Reserved Names
Rename Constants That Use Reserved Names
Rename a constant if it uses a name of a built-in constant.
Detect Incorrect Usages of t/b.Fatal* Calls in Goroutines
Detect Incorrect Usages of t/b.Fatal* Calls in Goroutines
Find if tests or benchmarks are using t/b.Fatal* calls inside goroutines incorrectly