23 lines
402 B
Go
23 lines
402 B
Go
|
package service
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
config "gitea.timerzz.com/kedaya_haitao/pusher/kitex_gen/config"
|
||
|
)
|
||
|
|
||
|
type AddService struct {
|
||
|
ctx context.Context
|
||
|
}
|
||
|
|
||
|
// NewAddService new AddService
|
||
|
func NewAddService(ctx context.Context) *AddService {
|
||
|
return &AddService{ctx: ctx}
|
||
|
}
|
||
|
|
||
|
// Run create note info
|
||
|
func (s *AddService) Run(req *config.PushConfig) error {
|
||
|
// Finish your business logic.
|
||
|
|
||
|
return nil
|
||
|
}
|