Skip to content

Conversation

@leonklingele
Copy link

@leonklingele leonklingele commented Oct 24, 2025

It seems the project has been unmainted for quite some time already,
see for example hashicorp/go-multierror#97
and hashicorp/go-multierror#98.
This also removes an uneccessary dependency which slims down the go.mod.

Go as of version 1.20 supports appending errors with "errors.Join"1.

Footnotes

  1. https://pkg.go.dev/errors#Join

It seems the project has been unmainted for quite some time already,
see for example hashicorp/go-multierror#97
and hashicorp/go-multierror#98.
This also removes an uneccessary dependency which slims down the go.mod.

Go as of version 1.20 supports appending errors by specifying
multiple "%w" formatters in the "fmt.Errorf"[^0] function.

[^0]: https://pkg.go.dev/fmt#Errorf
As an update to the previous commit 59f084e,
use "errors.Join"[^0] instead of multiple "%w" formatters for "fmt.Errorf".

[^0]: https://pkg.go.dev/errors#Join
@leonklingele leonklingele force-pushed the feat/remove-hashicorp-multierror branch from afb45ba to 1996ec8 Compare October 24, 2025 00:16
@coveralls
Copy link

Coverage Status

coverage: 54.515% (+0.5%) from 54.037%
when pulling 1996ec8 on leonklingele:feat/remove-hashicorp-multierror
into 8b9c5f7 on golang-migrate:master.

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