Documentation
¶
Overview ¶
Package model defines Data Transfer Object (Entity, Value Object)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSV ¶
CSV is csv data with header.
func (*CSV) IsHeaderEmpty ¶
IsHeaderEmpty return wherther header is empty or not
type Histories ¶ added in v0.0.5
type Histories []*History
Histories is sqly history all record.
func (Histories) ToStringList ¶ added in v0.2.0
type History ¶ added in v0.0.5
type History struct { // ID is history id. 1 is oldest ID int // Request is sqly history record that is user input from sqly prompt Request string }
History is sqly history record.
type JSON ¶ added in v0.3.0
type JSON struct { // Name is json file name Name string // JSON is key and value JSON []map[string]interface{} }
JSON is json data with indefinite keys
type Table ¶
Table is DB table.
func (*Table) IsEmptyHeader ¶
IsEmptyHeader return wherther table header is empty or not
func (*Table) IsEmptyName ¶
IsEmptyName return wherther table name is empty or not
func (*Table) IsEmptyRecords ¶
IsEmptyRecords return wherther table records is empty or not
Click to show internal directories.
Click to hide internal directories.