Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewImpl)
ProviderSet is a provider set for wire
Functions ¶
This section is empty.
Types ¶
type IRepo ¶
type IRepo interface { // QueryByID means query key result by key result's id QueryByID(ctx contextx.Contextx, id string) (kr *okr.KeyResult, err error) // QueryList means query key result list QueryList(ctx contextx.Contextx, offset, limit int) (krs []*okr.KeyResult, err error) // Delete means delete a key result Delete(ctx contextx.Contextx, id string) (err error) // Create means create a key result for objective Create(ctx contextx.Contextx, created *okr.KeyResult) (kr *okr.KeyResult, err error) // Update means update a key result Update(ctx contextx.Contextx, updated *okr.KeyResult) (kr *okr.KeyResult, err error) }
IRepo declare key result repo service function
func CreateRepo ¶
Click to show internal directories.
Click to hide internal directories.