Skip to content

Drop unnecessary deps in reprolang and cmd#372

Merged
jupblb merged 6 commits intomainfrom
michal/reprolang-deps
Feb 26, 2026
Merged

Drop unnecessary deps in reprolang and cmd#372
jupblb merged 6 commits intomainfrom
michal/reprolang-deps

Conversation

@jupblb
Copy link
Member

@jupblb jupblb commented Feb 26, 2026

No description provided.

The slices package has been in the Go stdlib since Go 1.21, so the
x/exp dependency is no longer needed as a direct dependency.
@jupblb jupblb force-pushed the michal/reprolang-deps branch from 4dfbe7c to 45bb9c7 Compare February 26, 2026 11:24
@jupblb jupblb force-pushed the michal/reprolang-deps branch from 45bb9c7 to 3769c89 Compare February 26, 2026 11:26
@jupblb jupblb changed the title Drop unnecessary deps in reprolang Drop unnecessary deps in reprolang and cmd Feb 26, 2026
- errors.New → errors.New (stdlib)
- errors.Newf/Errorf → fmt.Errorf
- errors.Wrap → fmt.Errorf with %w
- errors.Wrapf → fmt.Errorf with %w
- errors.CombineErrors → errors.Join
- errors.Is → errors.Is (stdlib)
- Remove cockroachdb/errors from go.mod in both modules
@jupblb jupblb force-pushed the michal/reprolang-deps branch from 9a6767a to 4fafb4b Compare February 26, 2026 11:54
@jupblb jupblb merged commit b469379 into main Feb 26, 2026
10 checks passed
@jupblb jupblb deleted the michal/reprolang-deps branch February 26, 2026 12:00
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.

1 participant