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

chore: use buf.String() instead of string(buf.Bytes()) #1715

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

testwill
Copy link

No description provided.

@martin-sucha
Copy link
Contributor

Hi!

Thank you for the pull request! The change looks good to me, but I have two questions:

  • You have Github vigilant mode enabled, but the commit is not signed. Is that intentional?
  • It seems to me that we could use strings.Builder instead of *bytes.Buffer. That should save an allocation. What do you think?

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.

None yet

2 participants