Documentation ¶ Index ¶ type Cfg func New(p string, globs ...string) *Cfg func (c *Cfg) AddItem(name string, i *Item) func (c *Cfg) GetItem(name string) *Item func (c *Cfg) ListItemsStr() []string func (c *Cfg) Run() error type Item func NewItem(fullPath string, c *api.Config, info os.FileInfo, title, desc string) *Item Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Cfg ¶ type Cfg struct { // Cfg *api.Config Path string Globs []string SelectedItem string // contains filtered or unexported fields } func New ¶ func New(p string, globs ...string) *Cfg func (*Cfg) AddItem ¶ func (c *Cfg) AddItem(name string, i *Item) func (*Cfg) GetItem ¶ func (c *Cfg) GetItem(name string) *Item func (*Cfg) ListItemsStr ¶ func (c *Cfg) ListItemsStr() []string func (*Cfg) Run ¶ func (c *Cfg) Run() error type Item ¶ type Item struct { IsSelected bool // contains filtered or unexported fields } func NewItem ¶ func NewItem(fullPath string, c *api.Config, info os.FileInfo, title, desc string) *Item Source Files ¶ View all Source files cfg.go Click to show internal directories. Click to hide internal directories.