Skip to content

Drop all third-party deps and update golangci-lint#11

Merged
aaron42net merged 3 commits into
mainfrom
development
Jun 1, 2026
Merged

Drop all third-party deps and update golangci-lint#11
aaron42net merged 3 commits into
mainfrom
development

Conversation

@aaron42net
Copy link
Copy Markdown
Member

No description provided.

Switch the generic constraint from golang.org/x/exp/constraints.Ordered to
the standard library's cmp.Ordered, and rewrite the tests to use only the
testing package instead of testify. This leaves the package with zero
external dependencies, so go.sum and dependabot.yml are removed and the
minimum Go version is raised to 1.22 (for cmp.Ordered, math/rand/v2, and
integer range loops).

- intervals.go: use cmp.Ordered in place of constraints.Ordered
- intervals_test.go: replace testify assertions with t.Error/t.Fatal and
  slices.Equal, add a local assertPanics helper, and switch to math/rand/v2
- intervals_test.go: add Search benchmarks and a gap parameter so Insert
  benchmarks can exercise disjoint, mergeable, and overlapping inputs
- README.md: expand documentation (concepts, API, concurrency, example),
  refresh benchmark numbers and note the zero-dependency property
@coveralls
Copy link
Copy Markdown

coveralls commented Jun 1, 2026

Coverage Report for CI Build 26733737691

Coverage remained the same at 100.0%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 47
Covered Lines: 47
Line Coverage: 100.0%
Coverage Strength: 13138.43 hits per line

💛 - Coveralls

@aaron42net aaron42net merged commit c822d05 into main Jun 1, 2026
14 checks passed
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.

2 participants