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 { // List serve get key result list by page and size List(ctx contextx.Contextx, page, size int) (krs []*okr.Result, err error) // GetByID serve caller use key result to get key result by id GetByID(ctx contextx.Contextx, id string) (kr *okr.Result, err error) // GetByGoalID serve caller use goal id to get key results GetByGoalID(ctx contextx.Contextx, id string) (krs []*okr.Result, err error) // LinkToGoal serve caller link a key result to goal via id LinkToGoal(ctx contextx.Contextx, created *okr.Result) (kr *okr.Result, err error) // ModifyTitle serve caller to modify title of result ModifyTitle(ctx contextx.Contextx, id, title string) (result *okr.Result, err error) // Delete serve caller to delete a key result by id Delete(ctx contextx.Contextx, id string) (err error) }
IBiz declare key result biz service function
Click to show internal directories.
Click to hide internal directories.