Skip to content

Consistent.hashKey: Why do we need the if statement? #8

@dastanza

Description

@dastanza

https://github.com/stathat/consistent/blob/master/consistent.go#L239
I don't see any difference when the 'if' statement is absence.

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