gox

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCtxBuilder

func NewCtxBuilder() exec.CmdContextBuilder

NewCtxBuilder returns a new Go command context builder.

Types

type GoModInfo

type GoModInfo struct {
	ModPath   string
	Toolchain string
}

func GetModuleInfo

func GetModuleInfo(rootDir string) (info GoModInfo, err error)

GetModulePath returns the module path and the toolchain version of the `go.mod` file located in `rootDir`. The toolchain string might be not set.

Jump to

Keyboard shortcuts

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