Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SkillService ¶
type SkillService interface { // Save 保存基本信息 Save(ctx context.Context, skill domain.Skill) (int64, error) // SaveRefs 保存关联信息 SaveRefs(ctx context.Context, skill domain.Skill) error List(ctx context.Context, offset, limit int) ([]domain.Skill, int64, error) Info(ctx context.Context, id int64) (domain.Skill, error) RefsByLevelIDs(ctx context.Context, ids []int64) ([]domain.SkillLevel, error) }
func NewSkillService ¶
func NewSkillService(repo repository.SkillRepo, p event.SyncEventProducer) SkillService
Click to show internal directories.
Click to hide internal directories.