Versions in this module Expand all Collapse all v1 v1.0.0 Jun 3, 2021 Changes in this version + const ABLE + const DELETE + const UNABLE + const UNACTIVE + var SysTimeLocation = time.LoadLocation("Asia/Shanghai") + func GetConnURL(info *MysqlConfig) (url string) + func MasterEngine(master MysqlConfig) *xorm.Engine + type CursorResult struct + Cursor string + Results interface{} + type MysqlConfig struct + Charset string + ConnMaxLifetime int64 + Database string + DriverName string + Host string + LogLevel string + MaxIdleConns int + MaxOpenConns int + Password string + Port int + ShowSql bool + User string + type OrderByCol struct + Asc bool + Column string + type PageResult struct + Page *Paging + Results interface{} + type PageWhereOrder struct + Order string + Value []interface{} + Where string + type Paging struct + Limit int + Page int + Total int + func (p *Paging) Offset() int + func (p *Paging) TotalPage() int + type XormModel struct + CreateBy string + CreateTime int64 + Id int64 + Remark string + Status int64 + UpdateBy string + UpdateTime int64 + func (m *XormModel) GetById(master MysqlConfig, id int64, bean interface{}) error + type XormModel1 struct + CreateTime int64 + Id int64 + Remark string + Status int64 + UpdateTime int64 + type XormModel2 struct + CreateTime int64 + Id int64 + Status int64 + UpdateTime int64 + type XormModelId struct + Id int64