Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GORMRepository ¶ added in v1.7.13
type GORMRepository interface { Worker() freedom.Worker // contains filtered or unexported methods }
GORMRepository .
type GoodsRepository ¶
type GoodsRepository struct { freedom.Repository EventManager *domainevent.EventManager }
GoodsRepository .
func (*GoodsRepository) Get ¶
func (repo *GoodsRepository) Get(ID int) (result *entity.Goods, e error)
Get .
type Limiter ¶ added in v1.8.12
type Limiter struct {
// contains filtered or unexported fields
}
Limiter .
func NewAscLimiter ¶ added in v1.8.12
NewAscLimiter .
func NewDescLimiter ¶ added in v1.8.12
NewDescLimiter .
type OrderRepository ¶
type OrderRepository struct { freedom.Repository EventManager *domainevent.EventManager }
OrderRepository .
func (*OrderRepository) Create ¶
func (repo *OrderRepository) Create(goodsID, num, userID int) error
Create .
type Pager ¶ added in v1.8.1
type Pager struct {
// contains filtered or unexported fields
}
Pager .
func NewAscPager ¶ added in v1.8.1
NewAscPager .
func NewDescPager ¶ added in v1.8.1
NewDescPager .
Click to show internal directories.
Click to hide internal directories.