Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

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

Closed
profclems opened this issue Jul 29, 2020 · 0 comments
Closed

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

profclems opened this issue Jul 29, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@profclems
Copy link
Owner

Description

Some function calls have shorthands that can be used instead of going about the long way. Some of these examples are wg.Done() instead of wg.Add(-1), strings.Split instead of strings.SplitN with N as -1 and http.NotFoundHandler instead of http.HandlerFunc with http.NotFound as the function.

Occurrences

There are 6 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/profclems/glab/issue/CRT-A0010/occurrences/

@profclems profclems added enhancement New feature or request Refactoring labels Jul 29, 2020
profclems added a commit that referenced this issue Jul 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant