Versions in this module Expand all Collapse all v0 v0.2.0 Aug 15, 2020 v0.1.0 Aug 9, 2020 Changes in this version + var DefaultCommonParam = CommonParam + func DefaultCtx() context.Context + type Base struct + func NewBase() *Base + func (b *Base) ProcessConcurrent(ctx context.Context, opt ProcessOption) error + type CommonParam struct + BeginTime int64 + EndTime int64 + PageIndex int + PageSize int + type DB = db.DB + type Doer interface + Do func(context.Context) error + type Entity interface + type ProcessOption struct + Args []interface{} + N int + NewEntity func() Entity + Query string + type Scanner interface + Scan func(context.Context, *sql.Rows) error