Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Summary is an overriding summary for readline hints Summary = New() )
Functions ¶
Types ¶
type HintSummary ¶
type HintSummary struct {
// contains filtered or unexported fields
}
HintSummary is a thread-safe map for storing the hint summary overrides
func New ¶
func New() *HintSummary
New creates a new instance of the hint summary override structure
func (*HintSummary) Delete ¶
func (hs *HintSummary) Delete(exe string) error
Delete removes a hint summary for a specific executable
func (*HintSummary) Dump ¶
func (hs *HintSummary) Dump() map[string]string
Dump returns a JSON-able structure of the stored hint summary overrides
func (*HintSummary) Get ¶
func (hs *HintSummary) Get(exe string) string
Get returns the hint summary override
func (*HintSummary) Set ¶
func (hs *HintSummary) Set(exe, summary string)
Set stores the hint summary override for a specific executable
Click to show internal directories.
Click to hide internal directories.