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 { // Create serve user to create a objective Create(ctx contextx.Contextx, obj *pb.Goal) (*pb.Goal, error) // GetByID serve user to get a objective by id GetByID(ctx contextx.Contextx, id string) (*pb.Goal, error) // List serve user to list all objectives List(ctx contextx.Contextx, page, size int) ([]*pb.Goal, error) // Count serve user to count all objectives Count(ctx contextx.Contextx) (int, error) // ModifyTitle serve user to modify title of task ModifyTitle(ctx contextx.Contextx, id, title string) (obj *pb.Goal, err error) // Delete serve user to delete a objective by id Delete(ctx contextx.Contextx, id string) error }
IBiz declare objective biz service function
Click to show internal directories.
Click to hide internal directories.