https://github.com/uber-go/nilaway
NilAway is a static analysis tool that seeks to help developers avoid nil
panics in production by catching them at compile time rather than runtime.
NilAway is similar to the standard nilness analyzer, however, it employs much
more sophisticated and powerful static analysis techniques to track nil flows
within a package as well across packages, and report errors providing users
with the nilness flows for easier debugging.
it's not included in golangci-lint so we have to run it manually.
Please Enter the title on the first line and the body on subsequent lines.
Lines below dotted lines will be ignored, and an empty title aborts the creation process.