Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command interface {
GetType() CommandType
}
type CommandCreate ¶
type CommandCreate struct {
// contains filtered or unexported fields
}
func (*CommandCreate) GetType ¶
func (c *CommandCreate) GetType() CommandType
type CommandResult ¶
type CommandSelect ¶
type CommandSelect struct {
// contains filtered or unexported fields
}
func (*CommandSelect) GetType ¶
func (c *CommandSelect) GetType() CommandType
type CommandType ¶
type CommandType string
const ( CommandTypeSelect CommandType = "select" CommandTypeUpdate CommandType = "update" CommandTypeDelete CommandType = "delete" CommandTypeInsert CommandType = "insert" CommandTypeCreate CommandType = "create" )
type DataSource ¶
func NewDataSource ¶
func NewDataSource(sourceType DataSourceType) DataSource
type Executor ¶
type Executor interface {
Execute(cmd Command) CommandResult
}
func NewExecutor ¶
func NewExecutor() Executor
type Lexer ¶
func NewNaiveLexer ¶
func NewNaiveLexer() Lexer
Click to show internal directories.
Click to hide internal directories.