You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 withgo wg.Add(1) // some code wg.Done()
Similarly,go strings.SplitN(str, splitChar, -1)
can be replaced withgo 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/
The text was updated successfully, but these errors were encountered: