Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByCommand ¶ added in v0.3.3
type ByCommand []SnippetInfo
type ByDescription ¶ added in v0.3.3
type ByDescription []SnippetInfo
func (ByDescription) Len ¶ added in v0.3.3
func (a ByDescription) Len() int
func (ByDescription) Less ¶ added in v0.3.3
func (a ByDescription) Less(i, j int) bool
func (ByDescription) Swap ¶ added in v0.3.3
func (a ByDescription) Swap(i, j int)
type ByOutput ¶ added in v0.3.3
type ByOutput []SnippetInfo
type SnippetInfo ¶
type Snippets ¶
type Snippets struct {
Snippets []SnippetInfo `toml:"snippets"`
}
func (*Snippets) Order ¶ added in v0.3.3
func (snippets *Snippets) Order()
Order snippets regarding SortBy option defined in config toml Prefix "-" reverses the order, default is "recency", "+<expressions>" is the same as "<expression>"
Click to show internal directories.
Click to hide internal directories.