Documentation
¶
Index ¶
- Variables
- type LogService
- type LogServiceImp
- func (s *LogServiceImp) Create(ctx context.Context, info map[string]interface{}) error
- func (s *LogServiceImp) Delete(ctx context.Context, ids []int64) (err error)
- func (s *LogServiceImp) List(q string, page int64, size int64, ordering string, data interface{}) (n int64, err error)
- func (s *LogServiceImp) Update(ctx context.Context, info map[string]interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ServiceSet = wire.NewSet(NewLogService)
Functions ¶
This section is empty.
Types ¶
type LogService ¶
type LogService interface {
List(q string, page int64, size int64, ordering string, data interface{}) (n int64, err error)
Update(ctx context.Context, info map[string]interface{}) error
Create(ctx context.Context, info map[string]interface{}) error
Delete(ctx context.Context, ids []int64) (err error)
}
func NewLogService ¶
func NewLogService(repo repositories.LogRepository) LogService
type LogServiceImp ¶
type LogServiceImp struct {
// contains filtered or unexported fields
}
func (*LogServiceImp) Create ¶
func (s *LogServiceImp) Create(ctx context.Context, info map[string]interface{}) error
func (*LogServiceImp) Delete ¶
func (s *LogServiceImp) Delete(ctx context.Context, ids []int64) (err error)
Click to show internal directories.
Click to hide internal directories.