Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tomarrell/wrapcheck
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.8.3
Choose a base ref
...
head repository: tomarrell/wrapcheck
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.9.0
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jul 16, 2024

  1. feat: suppress reports from unexported interface methods (#52)

    When an interface method is not exported, its only implementations will
    be local to the module under analysis. Thus, the implementations can be
    checked, and the caller can assume the error was wrapped.
    
    This reasoning does not apply to exported interface methods, even if the
    interface happens to also have an unexported method. (An implementation
    can override just the public methods by embedding the interface or a
    struct that implements it.)
    MichaelUrman authored Jul 16, 2024
    Configuration menu
    Copy the full SHA
    4a8f079 View commit details
    Browse the repository at this point in the history
Loading