BSD Ports

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

SystemPortVersion
FreeBSDdevel/go-tools0.52.0_1,1
OpenBSDdevel/go-tools0.49.0v0
NetBSDdevel/go-tools0.39.0nb11
DragonFlydevel/go-tools0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.50.0_1,10.50.0_1,1-0.36.0,10.52.0,1
FreeBSD:14:quarterly0.50.0_1,10.52.0,1n/a0.34.0,10.52.0,1
FreeBSD:15:latest0.50.0_1,10.52.0,1n/a0.36.0,10.36.0,1
FreeBSD:15:quarterly0.50.0_1,10.50.0_1,1n/an/an/a
FreeBSD:16:latest0.50.0,10.52.0,1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

OptionDefaultDescription
RAREoffinstall rarely used tools
USES
go:modules
Service scripts
none
Conflicts with
easygit rubygem-bundler

Files

distinfo 2
FileSizeSHA256
go/devel_go-tools/tools-v0.52.0/v0.52.0.mod301b4272bcb2c99901b1878e04a56c8a584ac1dce9d5844a3c1cc68a627546fe6fe
go/devel_go-tools/tools-v0.52.0/v0.52.0.zip2.874579e+0690b2a941aa5f2fe87564b8e38c3f03796de2e3597b7f4c52a9a6a53201b32c48

Commit history 11

DateCommitCreditsLog message
d81b7ba3c3 Dag-Erling Smørgrav various: Bump Go ports for Go 1.26.10 / 1.27.3
04b7864de9 Robert Clausecker devel/go-tools: update to 0.52.0
Selected upstream changes: - cmd/compilebench: exit nonzero when a benchmark fails - x/tools: delete obsolete code and dead test - cmd/toolstash: check -linkobj files to support early export - go.mod: update golang.org/x dependencies Changelog: https://github.com/golang/tools/compare/v0.50.0...v0.52.0 MFH: 2026Q4
031fc6bfbf Dag-Erling Smørgrav various: Bump Go ports
2cb2680d95 Dag-Erling Smørgrav various: Drop Go 1.24 version pin
This is a nop since 1.25 is the oldest supported version. I thought I'd removed these already...
7158259657 Robert Clausecker devel/go-tools: update to 0.50.0
Changelog: https://github.com/golang/tools/compare/v0.49.0...v0.50.0 Selected upstream changes: - internal/stdlib: update stdlib index for Go 1.27 Release Candidate 3 - cmd/goimports: use filepath.WalkDir instead of filepath.Walk - go.mod: update golang.org/x dependencies Event: EuroBSDcon Devsummit 2026

The latest 5 of 11 in the history this site was built from.