zerolit finds return zero values but they are not literal.
You can get zerolit by go install command (Go 1.16 and higher).
$ go install github.com/gostaticanalysis/zerolit@latestzerolit run with go vet as below when Go is 1.12 and higher.
$ go vet -vettool=$(which zerolit) ./...You can get analyzers of zerolit from zerolit.Analyzers. And you can use them with unitchecker.