We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54f405b commit c72ba41Copy full SHA for c72ba41
error_default.go
@@ -40,6 +40,7 @@ func (*noCopy) Unlock() {}
40
// From https://go.dev/wiki/CodeReviewComments#receiver-type:
41
// > If the receiver is a struct, array or slice and any of its elements is a pointer to something that might be mutating,
42
// > prefer a pointer receiver, as it will make the intention clearer to the reader.
43
+// > Don’t mix receiver types. Choose either pointers or struct types for all available methods.
44
// swagger:ignore
45
type DefaultError struct {
46
_ noCopy
0 commit comments