gofumpt
Apply consistent formatting to Go source files.
mvdan · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
Open the v0.12.0 GitHub release and download the Linux build. Reformat a compact Go function returning a sample count.
What we tested
v0.12.0. Reformat a compact Go function returning a sample count. Formatted the fixture function with the standard Go spacing.