goproxy

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, goArgs []string, opts ...Option) error

Run takes a go command ("build", "install", etc...) with its arguments, and applies changes specified through opts to the command before running it in a different process.

Types

type Option

type Option func(*config)

func WithToolexec

func WithToolexec(bin string, args ...string) Option

WithToolexec forces a call to Run() to build with the -toolexec option when wrapping a build command

Jump to

Keyboard shortcuts

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