Skip to content

Refactor interface -> any, new errors format etc#54

Open
piotrrojek wants to merge 5 commits intomasterfrom
go-1-20-refactor
Open

Refactor interface -> any, new errors format etc#54
piotrrojek wants to merge 5 commits intomasterfrom
go-1-20-refactor

Conversation

@piotrrojek
Copy link
Copy Markdown
Contributor

PR to update Go version this library relies on, swapped interface{} with any, replaced github.com/pkg/errors with standard library new errors syntax, updated go.mod etc.

Need to test it first, because I've seen attempts of upgrading in the repo tree, but it was reverted: a54d2b2

@piotrrojek
Copy link
Copy Markdown
Contributor Author

Looks like after upgrading the linter caught more issues. Will update it.

@piotrrojek
Copy link
Copy Markdown
Contributor Author

Looks like switching to standard library errors uncovered lots of linting issues covered previously by custom package. Minor things, but it'll be consistent with the rest of the codebase now.

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