diff options
Diffstat (limited to 'devel/go-tools/pkg-descr')
-rw-r--r-- | devel/go-tools/pkg-descr | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/devel/go-tools/pkg-descr b/devel/go-tools/pkg-descr index 0910b98601f1..28f75c9ea80a 100644 --- a/devel/go-tools/pkg-descr +++ b/devel/go-tools/pkg-descr @@ -1,4 +1,20 @@ -This port holds the source for various packages and tools that support the Go -programming language. +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: -WWW: https://godoc.org/golang.org/x/tools +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. |