This repository contains custom analysers for Go.
custom-checker
is the program to run the following analysers 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,...