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
An exported function or method returning a value of an un-exported type may be frustrating to use. Non-preferred way: go type unexportedType string func ExportedFunc() *unexportedType { return &unexportedType("some string") } Preferred way: go type ExportedType string func ExportedFunc() *ExportedType { return &ExportedType("some string") }
Occurrences
There are 16 occurrences of this issue in the repository.
Description
An exported function or method returning a value of an un-exported type may be frustrating to use. Non-preferred way:
go type unexportedType string func ExportedFunc() *unexportedType { return &unexportedType("some string") }
Preferred way:go type ExportedType string func ExportedFunc() *ExportedType { return &ExportedType("some string") }
Occurrences
There are 16 occurrences of this issue in the repository.
See all occurrences on DeepSource → deepsource.io/gh/ii64/tanem/issue/RVV-B0011/occurrences/
The text was updated successfully, but these errors were encountered: