Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of formatting helpers that call out to fmt #412

Merged
merged 4 commits into from
Jan 3, 2023

Conversation

zenhack
Copy link
Contributor

@zenhack zenhack commented Jan 2, 2023

e.g. Failedf. More work towards #364.

This mostly leaves direct calls to the fmt package.

...and update downstream call sites
i.e. wrappers around fmt.Errorf and such. This mostly leaves direct
calls to the fmt package.

Note: the stuff from fmt.go has been moved into a package in internal,
so it can be used outside of the main package.
@zenhack
Copy link
Contributor Author

zenhack commented Jan 2, 2023

Tacked on another commit that gets rid of direct calls in rpc & transport.

@zenhack zenhack merged commit cd75392 into capnproto:main Jan 3, 2023
@zenhack zenhack deleted the fmt-helpers branch January 3, 2023 01:18
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