Skip to content

remove unmaintained errors pkg(github.com/pkg/errors) - #206

Merged
evanphx merged 1 commit into
evanphx:masterfrom
koba1t:remove_unmaintained_error_pkg
Jan 27, 2025
Merged

evanphx merged 1 commit into
evanphx:masterfrom
koba1t:remove_unmaintained_error_pkg

Conversation

@koba1t

@koba1t koba1t commented Jun 9, 2024

Copy link
Copy Markdown
Contributor

fix: #205

@koba1t
koba1t force-pushed the remove_unmaintained_error_pkg branch from 3ec657b to 106306d Compare June 9, 2024 16:58
Comment thread patch.go
if idx < 0 {
if !SupportNegativeIndices {
return errors.Wrapf(ErrInvalidIndex, "Unable to access invalid index: %d", idx)
return fmt.Errorf("Unable to access invalid index: %d : %w", idx, ErrInvalidIndex)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick; this message is one space different from the one on L420.

Suggested change
return fmt.Errorf("Unable to access invalid index: %d : %w", idx, ErrInvalidIndex)
return fmt.Errorf("Unable to access invalid index: %d: %w", idx, ErrInvalidIndex)

@linux019

Copy link
Copy Markdown

This library is abandoned you have only to fork it

@evanphx

evanphx commented Jan 27, 2025

Copy link
Copy Markdown
Owner

No it is not.

@evanphx

evanphx commented Jan 27, 2025

Copy link
Copy Markdown
Owner

There is no reason to make this change, it simply churn versions for no reason.

@evanphx evanphx closed this Jan 27, 2025
@evanphx evanphx reopened this Jan 27, 2025
@evanphx
evanphx merged commit 0a3482b into evanphx:master Jan 27, 2025
@evanphx

evanphx commented Jan 27, 2025

Copy link
Copy Markdown
Owner

I had a cup of coffee and changed my mind.

@koba1t
koba1t deleted the remove_unmaintained_error_pkg branch January 27, 2025 17:57
@koba1t

koba1t commented Jan 27, 2025

Copy link
Copy Markdown
Contributor Author

Thanks for your decision to accept this change!

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.

Dependency github.com/pkg/errors was archived

4 participants