Skip to content

proposal: strings: implement Include function. #27825

@dennypenta

Description

@dennypenta

What version of Go are you using (go version)?

go version go1.10.3 darwin/amd64

Feature request.
Implement strings.Includes([]string, string) bool and same thing for other types.
At least once a week we need to check that slice of strings includes another string.
It's common code that we have to implement in every project and every package.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions