Skip to content

Conversation

@bobg
Copy link
Owner

@bobg bobg commented Dec 5, 2025

This PR causes decouple to skip deprecated functions by default. This can be overridden with the new Checker.Deprecated option and -deprecated command-line flag.

@github-actions
Copy link

github-actions bot commented Dec 5, 2025

Modver result

This report was generated by Modver,
a Go package and command that helps you obey semantic versioning rules in your Go module.

This PR requires (at least) an increase in your module's minor version number.

checking Checker
  struct field Deprecated was added to github.com/bobg/decouple.Checker
    Minor

@coveralls
Copy link

coveralls commented Dec 5, 2025

Pull Request Test Coverage Report for Build 19978162802

Details

  • 9 of 26 (34.62%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.8%) to 79.415%

Changes Missing Coverage Covered Lines Changed/Added Lines %
decouple.go 7 13 53.85%
cmd/decouple/main.go 2 13 15.38%
Totals Coverage Status
Change from base Build 19599657329: -0.8%
Covered Lines: 733
Relevant Lines: 923

💛 - Coveralls

@bobg bobg merged commit 8f0488d into main Dec 5, 2025
1 check passed
@bobg bobg deleted the bobg/deprecated branch December 5, 2025 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants