gofmtal formats Go programs. gofmtal is a command that multiplies the functionality of gofmt plus formatting code in comments.
Installation method varies depending on the version of Go.
$ go get -u github.com/funera1/gofmtal
$ go install github.com/funera1/gofmtal@latest
gofmtal [flags] [path ...]