Skip to content

Custom type support feature #26

@dejan-lokar

Description

@dejan-lokar

Hi,

I'm using the rowserrcheck plugin in a project and I'm looking for a way to get the same check for a custom iterator.

Example:

type CustomIter struct {}
func (*CustomIter) Err() error {...}
...

Would you be interested in extending this linter to accept a list of types to check in addition to the Rows? I can prepare a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions