Versions in this module Expand all Collapse all v1 v1.1.0 Mar 29, 2023 Changes in this version + func GoBin() (string, error) + type BinTool struct + func Must(t *BinTool, err error) *BinTool + func New(command, version, url string, opts ...Option) (*BinTool, error) + func NewGo(pkg, version string, opts ...Option) (*BinTool, error) + func (t *BinTool) Command(args string) shellcmd.Command + func (t *BinTool) Ensure() error + func (t *BinTool) Install() error + func (t *BinTool) IsInstalled() bool + type Option func(t *BinTool) error + func WithArchSubstitution(subst map[string]string) Option + func WithArchiveExt(ext string) Option + func WithBinExt(ext string) Option + func WithFolder(folder string) Option + func WithGoBinFolder() Option + func WithOsSubstitution(subst map[string]string) Option + func WithVersionCmd(cmd string) Option