Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Conversation

@cassierecher
Copy link
Contributor

This removes the custom errorf implementation and the associated lock and mutex (which I think were unnecessary upon a close reading of the channel logic used by callers.)

@mco-gh
Copy link
Contributor

mco-gh commented Nov 9, 2018 via email

The caller (main) is responsible for invoking os.Exit.
@sethvargo
Copy link

I like this approach much better. It feels cleaner. How do you feel @cassierecher?

Copy link

@sethvargo sethvargo left a comment

Choose a reason for hiding this comment

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

Two stylistic things, but this looks really good!

@cassierecher
Copy link
Contributor Author

Yes, this seems much cleaner. I'll now touch up the stylistic stuff.

No semantic impact; this is purely stylistic.
It was only being used in main, so it didn't make much sense to keep in
utils.
@cassierecher cassierecher merged commit 529f2d4 into googlecodelabs:master Nov 20, 2018
@cassierecher cassierecher deleted the standardize-errorf branch November 21, 2018 14:53
@levidounat-spec levidounat-spec mentioned this pull request Dec 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants