Skip to content

(CRT-A0010) Function call can be replaced with helper function #3

@ii64

Description

@ii64

Description

Certain functions, for a particular set of arguments, have shorthands that can be used instead. For example, go wg.Add(1) // some code wg.Add(-1) can be replaced with go wg.Add(1) // some code wg.Done() Similarly, go strings.SplitN(str, splitChar, -1) can be replaced with go strings.Split(str, splitChar) ```go …

Occurrences

There are 5 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/ii64/tanem/issue/CRT-A0010/occurrences/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions