Documentation ¶
Index ¶
- type AddParams
- type Svc
- func (s *Svc) Add(params AddParams) error
- func (s *Svc) Delete(ids []string) error
- func (s *Svc) GetByID() (d *models.Demo, err error)
- func (s *Svc) GetDemoList(q gormdb.BasicQuery) (interface{}, error)
- func (s *Svc) KafkaMessage(params AddParams) error
- func (s *Svc) Mod(params AddParams) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddParams ¶
type AddParams struct {
UserName string `json:"user_name" binding:"required"` // 名字
}
type Svc ¶
func (*Svc) GetDemoList ¶
func (s *Svc) GetDemoList(q gormdb.BasicQuery) (interface{}, error)
func (*Svc) KafkaMessage ¶
Click to show internal directories.
Click to hide internal directories.