Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cast2Position ¶
Cast2Position converts numeric data type to Position
func Map2JSON ¶
func Map2JSON(row InternalRow) ([]byte, error)
Map2JSON converts intermediate-data-type to JSON
Types ¶
type InternalRow ¶
type InternalRow = map[string]interface{}
InternalRow represents inner-data-type mediates *sqlx.Row and the data-format to be published
func SQL2ListMap ¶
func SQL2ListMap(rows *sqlx.Rows) ([]InternalRow, error)
SQL2ListMap converts *sqlx.Rows to intermediate-data-type
Click to show internal directories.
Click to hide internal directories.