This repository contains custom analyzers for Go.
custom-checker
is the program to run the following analyzers at once:
eventuallycheck
restrictpkg
custom-checker -restrictpkg.packages=html/template,log targetfile.go
eventuallycheck
is a static analysis tool to detect gomega.Eventually
without Should
or ShouldNot
.
eventuallycheck [FILES]
restrictpkg
is a static analysis tool to restrict which package to use.
Let PACKAGE1
and PACKAGE2
be the names of the packages you want to restrict.
restrictpkg -packages PACKAGE1,PACKAGE2,...