Skip to content

dev: bytes.NewBuffer/bytes.NewBufferString to shorten initialization #3632

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

Merged
merged 1 commit into from
Feb 24, 2023

Conversation

alexandear
Copy link
Member

This PR refactors code to use bytes.NewBuffer or bytes.NewBufferString to shorten the code.

@alexandear alexandear changed the title dev: bytesNewBuffer/NewBufferString to shorten initialization dev: bytes.NewBuffer/bytes.NewBufferString to shorten initialization Feb 24, 2023
@ldez ldez added enhancement New feature or improvement topic: cleanup Related to code, process, or doc cleanup labels Feb 24, 2023
@ldez ldez self-requested a review February 24, 2023 15:12
Copy link
Member

@ldez ldez left a comment

Choose a reason for hiding this comment

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

LGTM

@ldez ldez merged commit f4fec8c into golangci:master Feb 24, 2023
@alexandear alexandear deleted the refactor-use-newbuffer branch February 24, 2023 16:25
SeigeC pushed a commit to SeigeC/golangci-lint that referenced this pull request Apr 4, 2023
@ldez ldez added this to the v1.52 milestone Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement topic: cleanup Related to code, process, or doc cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants