Versions in this module Expand all Collapse all v0 v0.1.3 May 10, 2024 v0.1.2 Aug 24, 2023 v0.1.1 Aug 18, 2023 v0.1.0 Feb 23, 2023 Changes in this version + const StatusType_Delete + const StatusType_Disable + const StatusType_NotApproved + const StatusType_Ok + type CursorResult struct + Cursor string + Results interface{} + type ModelBy struct + CreateBy int64 + UpdateBy int64 + func (e *ModelBy) SetCreateBy(createBy int64) + func (e *ModelBy) SetUpdateBy(updateBy int64) + type ModelID struct + Id int64 + type ModelStatus struct + Remark string + Status int64 + type ModelTime struct + CreatedAt int64 + DeletedAt int64 + UpdatedAt int64 + type MysqlConfig struct + ConnMaxIdleTime int + ConnMaxLifetime int + Driver string + LogLevel int + MaxIdleConns int + MaxOpenConns int + Password string + PrefixColumn string + PrefixTable string + Secret string + ShowSQL bool + Url string + Username string + func (d MysqlConfig) DSN() string + func (d MysqlConfig) DSNPrint() 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 StatusType int64