mirror of
https://github.com/golang/go.git
synced 2025-05-05 23:53:05 +00:00
Updated CodeReviewComments (markdown)
parent
b259b90da4
commit
0b3ed88ffd
@ -46,7 +46,7 @@ Additional comments related to testing can be found at [Go Test Comments](https:
|
|||||||
|
|
||||||
Run [gofmt](https://pkg.go.dev/cmd/gofmt/) on your code to automatically fix the majority of mechanical style issues. Almost all Go code in the wild uses `gofmt`. The rest of this document addresses non-mechanical style points.
|
Run [gofmt](https://pkg.go.dev/cmd/gofmt/) on your code to automatically fix the majority of mechanical style issues. Almost all Go code in the wild uses `gofmt`. The rest of this document addresses non-mechanical style points.
|
||||||
|
|
||||||
An alternative is to use [goimports](https://pkg.go.dev/golang.org/x/tools/cmd/goimports), a superset of `gofmt` which additionally adds (and removes) import lines as necessary..
|
An alternative is to use [goimports](https://pkg.go.dev/golang.org/x/tools/cmd/goimports), a superset of `gofmt` which additionally adds (and removes) import lines as necessary.
|
||||||
|
|
||||||
## Comment Sentences
|
## Comment Sentences
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user