devel/go-tools 0.52.0_1,1 FreeBSD
Go Tools
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
d81b7ba3c3- License
- BSD3CLAUSE
- Categories
- devel
- Package size
- 22646.9 KiB, 115840.6 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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/go-tools | 0.52.0_1,1 |
| OpenBSD | devel/go-tools | 0.49.0v0 |
| NetBSD | devel/go-tools | 0.39.0nb11 |
| DragonFly | devel/go-tools | 0.31.0,1 |
Install
Binary package:
pkg install go-tools
From the ports tree:
cd /usr/ports/devel/go-tools/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= go-tools>0:devel/go-tools
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.50.0_1,1 | 0.50.0_1,1 | - | 0.36.0,1 | 0.52.0,1 |
| FreeBSD:14:quarterly | 0.50.0_1,1 | 0.52.0,1 | n/a | 0.34.0,1 | 0.52.0,1 |
| FreeBSD:15:latest | 0.50.0_1,1 | 0.52.0,1 | n/a | 0.36.0,1 | 0.36.0,1 |
| FreeBSD:15:quarterly | 0.50.0_1,1 | 0.50.0_1,1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.50.0,1 | 0.52.0,1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
No port depends on this one.
Configuration
Options name: devel_tools
| Option | Default | Description |
|---|---|---|
| RARE | off | install rarely used tools |
- USES
- go:modules
- Service scripts
- none
- Conflicts with
- easygit rubygem-bundler
Files
distinfo 2
| File | Size | SHA256 |
|---|---|---|
| go/devel_go-tools/tools-v0.52.0/v0.52.0.mod | 301 | b4272bcb2c99901b1878e04a56c8a584ac1dce9d5844a3c1cc68a627546fe6fe |
| go/devel_go-tools/tools-v0.52.0/v0.52.0.zip | 2.874579e+06 | 90b2a941aa5f2fe87564b8e38c3f03796de2e3597b7f4c52a9a6a53201b32c48 |
Commit history 11
The latest 5 of 11 in the history this site was built from.