Versions in this module Expand all Collapse all v0 v0.0.1 Jul 6, 2019 Changes in this version + func FindSql(sqlId string) *parsing.DynamicData + func ParseObject(bean interface{}) (reflection.Object, error) + func RegisterMapperData(data []byte) error + func RegisterMapperFile(file string) error + func RegisterModel(model interface{}) + func RegisterModelWithName(name string, model interface{}) error + func RegisterSql(sqlId string, sql string) error + func UnregisterSql(sqlId string) + type BaseRunner struct + func (this *BaseRunner) Context(ctx context.Context) Runner + func (this *BaseRunner) LastInsertId() int64 + func (this *BaseRunner) Param(params ...interface{}) Runner + func (this *BaseRunner) Result(bean interface{}) error + type DeleteRunner struct + func (this *DeleteRunner) Result(bean interface{}) error + type InsertRunner struct + func (this *InsertRunner) LastInsertId() int64 + func (this *InsertRunner) Result(bean interface{}) error + type ModelName string + type ObjectCache struct + type Runner interface + Context func(ctx context.Context) Runner + LastInsertId func() int64 + Param func(params ...interface{}) Runner + Result func(bean interface{}) error + type SelectRunner struct + func (this *SelectRunner) Result(bean interface{}) error + type Session struct + func (this *Session) Delete(sql string) Runner + func (this *Session) GetContext() context.Context + func (this *Session) Insert(sql string) Runner + func (this *Session) Select(sql string) Runner + func (this *Session) SetContext(ctx context.Context) *Session + func (this *Session) Tx(txFunc func(session *Session) bool) + func (this *Session) Update(sql string) Runner + type SessionManager struct + func NewSessionManager(factory factory.Factory) *SessionManager + func (this *SessionManager) NewSession() *Session + type SqlManager struct + type UpdateRunner struct + func (this *UpdateRunner) Result(bean interface{}) error