Update .bashrc
[dotfiles/.git] / nilness / main.go
1 // The nilness command applies the golang.org/x/tools/go/analysis/passes/nilness
2 // analysis to the specified packages of Go source code.
3 package main
4
5 import (
6         "golang.org/x/tools/go/analysis/passes/nilness"
7         "golang.org/x/tools/go/analysis/singlechecker"
8 )
9
10 func main() { singlechecker.Main(nilness.Analyzer) }