go-playground / validator

:100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
MIT License
16.05k stars 1.29k forks source link

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

Open alexandear opened 1 month ago

alexandear commented 1 month ago

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

coveralls commented 1 month ago

Coverage Status

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