Documentation
¶
Overview ¶
Package doctor provides a library for managing required tools, frameworks, etc on a system. E.g., it can be used by a project to let new developers check if their environment is ready for working on the project, and if not it can provide them with information on what is missing and what they can do to rectify that.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Requirements []Requirement `yaml:"requirements"`
}
func ReadConfig ¶
type Requirement ¶
type Requirement struct { // Tool specifies which tool this is. If it's not a built-in one, then it // should be set to custom. // Expects lower case Name string `yaml:"name"` Template string `yaml:"template"` Version string `yaml:"version"` Command string `yaml:"command"` }
func (*Requirement) GetTool ¶
func (r *Requirement) GetTool() (Tool, error)
Click to show internal directories.
Click to hide internal directories.