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

dependencies

package
v0.99.3 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AllRequired []*Dependency
	AllOptional []*Dependency
)

Functions

func Add

func Add(dep *Dependency)

func AllRequiredMustBeInstalled

func AllRequiredMustBeInstalled(out io.Writer) error

Types

type Dependency

type Dependency struct {
	// Command that should be found in PATH
	Command string

	// Url to dependency's website
	Url string

	// IsRequired indicates whether this is a core dependency required to run joy
	IsRequired bool

	// RequiredBy lists which joy sub-commands require this dependency
	RequiredBy []string
}

func (*Dependency) IsInstalled

func (d *Dependency) IsInstalled() bool

func (*Dependency) MustBeInstalled

func (d *Dependency) MustBeInstalled() error

Jump to

Keyboard shortcuts

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