Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListAllBangs ¶
ListAllBangs returns the map of all loaded bang entries.
Types ¶
type AugmentNoPlaceholderError ¶
type AugmentNoPlaceholderError struct{}
func (AugmentNoPlaceholderError) Error ¶
func (AugmentNoPlaceholderError) Error() string
type BangList ¶
func (BangList) PrepareInput ¶
func (BangList) PrepareInputNaive ¶
Benchmarked; lookup in precomputed map is faster even in smaller cases
func (BangList) PrepareInputOld ¶
type Entry ¶
type Entry struct {
Bang string `yaml:"bang" json:"bang"`
Description string `yaml:"description" json:"description"`
URL QueryURL `yaml:"url" json:"url"`
Category string `yaml:"category,omitempty" json:"category,omitempty"`
}
type InputHasNoBangError ¶
type InputHasNoBangError string
func (InputHasNoBangError) Error ¶
func (InputHasNoBangError) Error() string
type InputStartsWithIgnoreError ¶
type InputStartsWithIgnoreError string
func (InputStartsWithIgnoreError) Error ¶
func (InputStartsWithIgnoreError) Error() string
Click to show internal directories.
Click to hide internal directories.