Versions in this module Expand all Collapse all v0 v0.1.0 Jun 4, 2022 Changes in this version type Svc + RunningTest bool v0.0.1 Apr 22, 2022 Changes in this version + type AddParams struct + UserName string + type Svc struct + Ctx context.Context + ID int64 + func (s *Svc) Add(params AddParams) error + func (s *Svc) Delete(ids []string) error + func (s *Svc) GetByID() (d *models.Demo, code common.RetCode, err error) + func (s *Svc) GetDemoList(q gormdb.BasicQuery) (interface{}, common.RetCode, error) + func (s *Svc) KafkaMessage(params AddParams) error + func (s *Svc) Mod(params AddParams) (err error)