Documentation ¶ Index ¶ type Model func New(cx sql.ConnX) Model func (m Model) NamedGet(dst interface{}, query string, params interface{}) error func (m Model) NamedSelect(dst interface{}, query string, params interface{}) error func (m Model) SelectFromJSON(dst interface{}, query string, params interface{}) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Model ¶ type Model struct { Cx sql.ConnX } func New ¶ func New(cx sql.ConnX) Model func (Model) NamedGet ¶ func (m Model) NamedGet(dst interface{}, query string, params interface{}) error func (Model) NamedSelect ¶ func (m Model) NamedSelect(dst interface{}, query string, params interface{}) error func (Model) SelectFromJSON ¶ added in v0.3.29 func (m Model) SelectFromJSON(dst interface{}, query string, params interface{}) error Source Files ¶ View all Source files model.go named.go selectfromjson.go Click to show internal directories. Click to hide internal directories.