Documentation ¶ Index ¶ Variables func MustIn(sql string, args ...interface{}) (string, []interface{}) func MustNamed(inputSql string, arg interface{}) (sql string, args []interface{}) func NewXormEngine() (gone.Angel, gone.GonerId) func Priest(cemetery gone.Cemetery) error type Engine type NameMap Constants ¶ This section is empty. Variables ¶ View Source var NameMapType = reflect.TypeOf(&NameMap{}).Elem() Functions ¶ func MustIn ¶ func MustIn(sql string, args ...interface{}) (string, []interface{}) func MustNamed ¶ func MustNamed(inputSql string, arg interface{}) (sql string, args []interface{}) func NewXormEngine ¶ func NewXormEngine() (gone.Angel, gone.GonerId) func Priest ¶ func Priest(cemetery gone.Cemetery) error Types ¶ type Engine ¶ type Engine interface { xorm.Interface Transaction(fn func(session *xorm.Session) error) error Sqlx(sql string, args ...interface{}) *xorm.Session Start() GetOriginEngine() *xorm.Engine } type NameMap ¶ type NameMap map[string]interface{} Source Files ¶ View all Source files help.go implement.go interface.go logger.go priest.go transaction.go Click to show internal directories. Click to hide internal directories.