Skip to content

Use strings.Builder for Post body scanning#894

Open
igneel64 wants to merge 1 commit intoquii:mainfrom
igneel64:use-strings-builder-for-post-body
Open

Use strings.Builder for Post body scanning#894
igneel64 wants to merge 1 commit intoquii:mainfrom
igneel64:use-strings-builder-for-post-body

Conversation

@igneel64
Copy link
Copy Markdown

Since scanner.Text() returns a string, in my mind seems like strings.Builder might be a more expected fit for string building.
Not sure if there is another reason to keep bytes.Buffer. If there is feel free to enlighten me of the reason behind it, thanks!

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