text

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CommandName = `usql`

	CommandVersion = `0.0.0-dev`


	NotConnected = `(not connected)`

	HelpPrefix = `help`

	WelcomeDesc = `Type "` + HelpPrefix + `" for help.`

	QueryBufferEmpty = `Query buffer is empty.`

	QueryBufferReset = `Query buffer reset (cleared).`

	InvalidCommand = `Invalid command \%s. Try \? for help.`

	ExtraArgumentIgnored = `\%s: extra argument "%s" ignored`

	MissingRequiredArg = `\%s: missing required argument`

	Copyright = Banner + ".\n\n" + License

	RowCount = `(%d rows)`

	AvailableDrivers = `Available Drivers:`

	ConnInfo = `You are connected with driver %s (%s)`

	EnterPassword = `Password: `

	HelpDesc string

	HelpBanner = `You are using ` + Banner + `.`

	HelpCommandPrefix = `Type:  `

	HelpCommands = [][]string{
		[]string{`copyright`, `for distribution terms`},
		[]string{`h`, `for help with SQL commands`},
		[]string{`?`, `for help with ` + CommandName + ` commands`},
		[]string{`g`, `or terminate with semicolon to execute query`},
		[]string{`q`, `to quit`},
	}
)
View Source
var License = `` /* 1083-byte string literal not displayed */

Functions

func Command added in v0.4.0

func Command() string

Command returns the command name without spaces.

func CommandLower added in v0.4.0

func CommandLower() string

CommandLower returns the lower case command name without spaces.

func CommandUpper added in v0.4.0

func CommandUpper() string

CommandUpper returns the upper case command name without spaces.

Types

This section is empty.

Jump to

Keyboard shortcuts

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