BSD Ports

devel/go-tools 0.31.0,1 DragonFly

Go Tools

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE
Categories
devel
Package size
22833.3 KiB, 122090.0 KiB installed

Description

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.

In the other systems

SystemPortVersion
DragonFlydevel/go-tools0.31.0,1
FreeBSDdevel/go-tools0.52.0_1,1
OpenBSDdevel/go-tools0.49.0v0
NetBSDdevel/go-tools0.39.0nb11
HardenedBSDdevel/go-tools0.50.0,1
GhostBSDdevel/go-tools0.50.0,1

Install

Binary package:

pkg install go-tools

From DPorts:

cd /usr/dports/devel/go-tools && make install clean

Dependencies

No port depends on this one.