Documentation ¶
Index ¶
- Constants
- type Engine
- type EngineResult
- type Query
- func (q *Query) Add(query []rune) []rune
- func (q *Query) Clear() []rune
- func (q *Query) Delete(i int) []rune
- func (q *Query) Get() []rune
- func (q *Query) GetKeywords() [][]rune
- func (q *Query) GetLastKeyword() []rune
- func (q *Query) Insert(query []rune, idx int) []rune
- func (q *Query) PopKeyword() ([]rune, []rune)
- func (q *Query) Set(query []rune) []rune
- func (q *Query) StringAdd(query string) string
- func (q *Query) StringGet() string
- func (q *Query) StringGetKeywords() []string
- func (q *Query) StringGetLastKeyword() string
- func (q *Query) StringInsert(query string, idx int) string
- func (q *Query) StringPopKeyword() (string, []rune)
- func (q *Query) StringSet(query string) string
- func (q *Query) StringSplitLastKeyword() (string, string)
- type Terminal
- type TerminalDrawAttributes
Constants ¶
View Source
const ( DefaultY int = 1 FilterPrompt string = "[jq]> " )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func (*Engine) Run ¶
func (e *Engine) Run() *EngineResult
type EngineResult ¶
type Query ¶
type Query struct {
// contains filtered or unexported fields
}
func (*Query) GetKeywords ¶
func (*Query) GetLastKeyword ¶
func (*Query) PopKeyword ¶
func (*Query) StringGetKeywords ¶
func (*Query) StringGetLastKeyword ¶
func (*Query) StringPopKeyword ¶
func (*Query) StringSplitLastKeyword ¶
type Terminal ¶
type Terminal struct {
// contains filtered or unexported fields
}
func NewTerminal ¶
Click to show internal directories.
Click to hide internal directories.