Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewImpl, repo.ProviderSet)
ProviderSet is a provider set for wire
Functions ¶
This section is empty.
Types ¶
type IBiz ¶
type IBiz interface { // GetByID serve caller to given id to get a record information GetByID(ctx contextx.Contextx, id int64) (info *event.Record, err error) // List serve caller to list all records by page and size List(ctx contextx.Contextx, actID int64, page, size int) (infos []*event.Record, err error) // NewRecord serve caller to create a new record into spend history NewRecord(ctx contextx.Contextx, actID, payerID int64, remark string, members []*user.Member, total int) (info *event.Record, err error) // Delete serve caller to delete a record by id Delete(ctx contextx.Contextx, id, actID int64) error }
IBiz declare history's service function
func CreateIBiz ¶
CreateIBiz serve caller to create an IBiz
Click to show internal directories.
Click to hide internal directories.