Created
December 30, 2022 14:12
-
-
Save alces/ab45945691ac435c981f20685edc0f64 to your computer and use it in GitHub Desktop.
Fixing fieldalignment issues reported by govet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
go install golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment | |
fieldalignment -fix a_problematic_file.go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment