go-tools holds the golang.org/x/tools module, comprising various tools
mostly for static analysis of Go programs, some of which are listed
below. Selected commands:
goimports formats a Go program like go fmt and additionally inserts
import statements for any packages required by the file after it
is edited.
callgraph prints the call graph of a Go program.
digraph is a utility for manipulating directed graphs in textual
notation.
stringer generates declarations (including a String method) for "enum"
types.
toolstash is a utility to simplify working with multiple versions of the
Go toolchain.
¦ ¦ ¦ ¦
Manual pages:
FreshPorts has no man page information for this port.
===> The following configuration options are available for go-tools-0.8.0,1:
RARE=off: install rarely used tools
===> Use 'make config' to modify these settings
Options name:
devel_go-tools
USES:
go:modules zip
FreshPorts was unable to extract/find any pkg message
devel/go-tools: update to 0.8.0
A bug fix release, bumping the dependencies to their newest versions.
Changelog: https://github.com/golang/tools/compare/v0.7.0...v0.8.0
MFH: 2023Q2
(cherry picked from commit ac707af53614cc37eda02c47b0e4f7ffaa65c69d)