commandparser

package
v0.0.0-...-3267210 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Query

type Query struct {
	Command string
	Key     string
	Value   string
}

Query is the parsed query based on user input

func ParseCommand

func ParseCommand(input string) (Query, error)

ParseCommand parses commands given by the user

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL