Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryHistory ¶
type QueryHistory struct {
// contains filtered or unexported fields
}
QueryHistory :: struct for working with history in the interactive mode
func (*QueryHistory) Get ¶
func (q *QueryHistory) Get() []string
Get :: return a copy of the current history
func (*QueryHistory) Persist ¶
func (q *QueryHistory) Persist() error
Persist :: persist the history to the filesystem
func (*QueryHistory) Put ¶
func (q *QueryHistory) Put(query string)
Put :: add to the history queue; trim to maxHistorySize if necessary
Click to show internal directories.
Click to hide internal directories.