Documentation ¶ Index ¶ type PGetter func Getter() PGetter type PathWriter type Prg Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type PGetter ¶ type PGetter interface { Get() []Prg } PGetter gets programs (from an internal config) func Getter ¶ func Getter() PGetter Getter returns a object able to get a list of Prgs type PathWriter ¶ type PathWriter interface { // WritePath writes in a writer `set PATH=`... with all prgs PATH. // Note: not all programs have a path WritePath(prgs []Prg, w io.Writer) error } PathWriter computes final PATH of a collection of programs type Prg ¶ type Prg interface { // Name is the name of a program to install, acts as an id Name() string } Prg defines what kind of service a program has to provide Source Files ¶ View all Source files paths_writer.go prgs.go Click to show internal directories. Click to hide internal directories.