Skip to content

Commit

Permalink
go/analysis/passes/fieldalignment: fix doc
Browse files Browse the repository at this point in the history
"go fieldalignment" is not a command that works.

Change-Id: I0eda2c0491c26c30c6661be96d3f6c7e5db920ff
Reviewed-on: https://go-review.googlesource.com/c/tools/+/607295
Reviewed-by: Tim King <taking@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
Run-TryBot: Tim King <taking@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
  • Loading branch information
kevinburke authored and timothy-king committed Aug 21, 2024
1 parent 66adacf commit c7adb63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/analysis/passes/fieldalignment/fieldalignment.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ so the analyzer is not included in typical suites such as vet or
gopls. Use this standalone command to run it on your code:
$ go install golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment@latest
$ go fieldalignment [packages]
$ fieldalignment [packages]
`

Expand Down

0 comments on commit c7adb63

Please sign in to comment.