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
The deadcode tool now suppresses marker interface methods
from the default output, as these are typically intentional interface
implementations rather than dead code.
Marker interface methods are unexported methods that: implement
a top-level interface and have no parameters, results, and function body.
Add Marker field to jsonFunction struct to indicate when a function
is a marker interface method, allowing users to filter or identify
these methods in custom format templates.
Fixesgolang/go#75628
Change-Id: I8271fad800717a96ead18ba9b0f3c4e7b23f864a
GitHub-Last-Rev: 109b3ac
GitHub-Pull-Request: #598
Reviewed-on: https://go-review.googlesource.com/c/tools/+/710435
Auto-Submit: Alan Donovan <[email protected]>
Reviewed-by: David Chase <[email protected]>
Reviewed-by: Alan Donovan <[email protected]>
TryBot-Bypass: Alan Donovan <[email protected]>
0 commit comments