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
Omit unnecessary (or) redundant control flows. - Functions that have no return value do not need a return statement as the final statement of the function. Both the examples below act the same. Bad pattern: go func foo() { fmt.Println("foo") return } Good pattern: ```go func foo() { fmt.Println("foo") …
Occurrences
There is 1 occurrence of this issue in the repository.
Description
Omit unnecessary (or) redundant control flows. - Functions that have no return value do not need a return statement as the final statement of the function. Both the examples below act the same. Bad pattern:
go func foo() { fmt.Println("foo") return }
Good pattern: ```go func foo() { fmt.Println("foo") …Occurrences
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/devpyp/gologger/issue/SCC-S1023/occurrences/
The text was updated successfully, but these errors were encountered: