shell

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Commands = []command{}
)

Functions

func NewPrintOptions

func NewPrintOptions() printOptions

func RunShell

func RunShell(dbPath, logPath string) error

Types

type CommandEnv

type CommandEnv struct {
	// contains filtered or unexported fields
}

func NewCommandEnv

func NewCommandEnv(db *sqlx.DB) *CommandEnv

type QueryResult

type QueryResult struct {
	Columns []string
	Rows    [][]interface{}
}

func (QueryResult) ShowResult

func (queryResult QueryResult) ShowResult(options printOptions)

type ShellOptions

type ShellOptions struct {
}

Jump to

Keyboard shortcuts

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