Skip to content

Run nilaway to detect potential nil errors in codebase #2329

@chmouel

Description

@chmouel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions