gocmd

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(goExec string, workDir string, pkg string) error

func ModTidy

func ModTidy(goExec string, workDir string) error

Types

type Module

type Module struct {
	Path    string
	Version string
}

Module describes a module in the effective Go module graph.

func ListModules

func ListModules(goExec string, workDir string) ([]Module, error)

ListModules returns every non-main module in the effective Go module graph.

Jump to

Keyboard shortcuts

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