Skip to content

Standard name for Error Variables #62

@0xpanicError

Description

@0xpanicError

Saw warnings on error variables inside vs code. Apparently staticcheck enforces that Error names must start with Err
for example: errFoo or ErrFoo
more on this here: https://staticcheck.io/docs/checks#ST1012

Example Instance:
Screenshot 2024-05-17 at 3 17 49 PM

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