The devel/go-tools port
go-tools-0.30.0v0 – various tools for the Go programming language (cvsweb github mirror)
Description
This package provides the golang.org/x/tools module, comprising various tools and packages mostly for static analysis of Go programs, some of which are listed below. - callgraph: prints the call graph of a Go program. - deadcode: reports unreachable functions. - digraph: utility for manipulating directed graphs in textual notation. - godoc: extracts and generates documentation for Go programs. - goimports: formats a Go program like go fmt and additionally inserts import statements for any packages required by the file after it is edited. - stringer: generates declarations (including a String method) for "enum" types. - present: runs a web server that presents slide and article files from - toolstash: simplifies working with multiple versions of the Go toolchain. the current directory.WWW: https://pkg.go.dev/golang.org/x/tools/cmd
Readme
+----------------------------------------------------------------------- | Running ${PKGSTEM} on OpenBSD +----------------------------------------------------------------------- When started via the rc script, by default godoc will only show documentation for the go distribution itself. If serving documentation for packages in other workspaces is desired, the GOPATH environment variable should be set. This can be achieved without affecting other daemons by creating a separate login class for the godoc rc script. Example login.conf(5) fragment: godoc:\ :setenv=GOPATH=${TRUEPREFIX}/go-pkg:\ :tc=daemon: (Refer to getcap(3), login.conf(5) and rc.d(8) for details.)
Maintainer
The OpenBSD ports mailing-list
Only for arches
aarch64 amd64 arm i386 riscv64
Categories
Build dependencies
Run dependencies
Files
- /etc/rc.d/godoc
- /usr/local/bin/authtest
- /usr/local/bin/benchcmp
- /usr/local/bin/bisect
- /usr/local/bin/bundle
- /usr/local/bin/callgraph
- /usr/local/bin/compilebench
- /usr/local/bin/cookieauth
- /usr/local/bin/deadcode
- /usr/local/bin/digraph
- /usr/local/bin/eg
- /usr/local/bin/file2fuzz
- /usr/local/bin/fiximports
- /usr/local/bin/fuzz-driver
- /usr/local/bin/fuzz-runner
- /usr/local/bin/gitauth
- /usr/local/bin/go-contrib-init
- /usr/local/bin/godex
- /usr/local/bin/godoc
- /usr/local/bin/goimports
- /usr/local/bin/gomvpkg
- /usr/local/bin/gonew
- /usr/local/bin/gotype
- /usr/local/bin/goyacc
- /usr/local/bin/html2article
- /usr/local/bin/netrcauth
- /usr/local/bin/present
- /usr/local/bin/present2md
- /usr/local/bin/splitdwarf
- /usr/local/bin/ssadump
- /usr/local/bin/stress
- /usr/local/bin/stringer
- /usr/local/bin/toolstash
- /usr/local/share/doc/pkg-readmes/go-tools
- @conflict ruby-shims-*
- @conflict stress-*