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

format all code: remove empty lines, align struct fields #1264

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexandear
Copy link
Contributor

@alexandear alexandear commented May 16, 2024

Fixes Or Enhances

Formats all code with gofumpt.

The tool removes redundant empty lines, align struct fields, add empty lines between imports, and fixes some other fmt issues. This improves code readability and maintainability. See https://go.dev/doc/effective_go#formatting

@go-playground/validator-maintainers

@alexandear alexandear requested a review from a team as a code owner May 16, 2024 15:27
@alexandear alexandear changed the title format all code: remove empty lines, fix indent format all code: remove empty lines, align struct fields May 16, 2024
@coveralls
Copy link

Coverage Status

coverage: 73.504% (-0.7%) from 74.243%
when pulling 2230739 on alexandear:format-code
into e20b948 on go-playground:master.

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