Help us shape the future of Go! Take the 2026 Go Developer Survey

internal/

directory
v0.49.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2026 License: MIT

Directories

Path Synopsis
Package exectest provides reusable fakes for the process-execution seams (exec.LookPath, exec.CommandContext, os.Executable) that GTB code injects for testability.
Package exectest provides reusable fakes for the process-execution seams (exec.LookPath, exec.CommandContext, os.Executable) that GTB code injects for testability.
Package formpage runs a wizard's pages so that accessible mode asks what the TUI shows.
Package formpage runs a wizard's pages so that accessible mode asks what the TUI shows.
Package formtest drives real huh forms in tests with no TTY and no production seam (spec 0198 D3).
Package formtest drives real huh forms in tests with no TTY and no production seam (spec 0198 D3).
Package pkgmanager tells whether a binary was installed by a package manager, so a self-updater can defer to that manager rather than replace a file it tracks (gtb#129).
Package pkgmanager tells whether a binary was installed by a package manager, so a self-updater can defer to that manager rather than replace a file it tracks (gtb#129).
Package repopolicy holds tests over the repository's own policy files (.coverage-policy.yaml, .golangci.yaml) so an entry that names a path which no longer exists fails the suite instead of silently excluding nothing.
Package repopolicy holds tests over the repository's own policy files (.coverage-policy.yaml, .golangci.yaml) so an entry that names a path which no longer exists fails the suite instead of silently excluding nothing.
Package sshagenttest serves an in-memory ssh-agent for tests, and pins SSH_AUTH_SOCK so a developer's own agent cannot change a result.
Package sshagenttest serves an in-memory ssh-agent for tests, and pins SSH_AUTH_SOCK so a developer's own agent cannot change a result.
Package testutil provides shared test helpers for the go-tool-base module.
Package testutil provides shared test helpers for the go-tool-base module.
Package transportcfg holds config-resolution helpers shared by the pkg/grpc and pkg/http server adapters: config-selection options, their splitting from the transport's own option families, and the resilience subsections.
Package transportcfg holds config-resolution helpers shared by the pkg/grpc and pkg/http server adapters: config-selection options, their splitting from the transport's own option families, and the resilience subsections.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL