For #74774. Change-Id: I6a6a636c579fa95938021cc73d7d11a86f8a19a3 Reviewed-on: https://go-review.googlesource.com/c/go/+/725540 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
1 KiB
Tools
Go command
cmd/doc, and go tool doc have been deleted. go doc can be used as
a replacement for go tool doc: it takes the same flags and arguments and
has the same behavior.
The go fix command, following the pattern of go vet in Go 1.10,
now uses the Go analysis framework (golang.org/x/tools/go/analysis).
This means the same analyzers that provide diagnostics in go vet
can be used to suggest and apply fixes in go fix.
The go fix command's historical fixers, all of which were obsolete,
have been removed and replaced by a suite of new analyzers that
offer fixes to use newer features of the language and library.
Cgo
Pprof
The pprof tool web UI, enabled with the -http flag, now defaults to the flame graph view.
The previous graph view is available in the "View -> Graph" menu, or via /ui/graph.