33 lines
855 B
Go
33 lines
855 B
Go
// ================================================================================
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
// You can delete these comments if you wish manually maintain this interface file.
|
|
// ================================================================================
|
|
|
|
package service
|
|
|
|
import (
|
|
"context"
|
|
"server/internal/model"
|
|
)
|
|
|
|
type (
|
|
IUserReadHistory interface {
|
|
Remove(ctx context.Context, in *model.UserReadHistoryDelIn) (out *model.UserReadHistoryCRUDOut, err error)
|
|
}
|
|
)
|
|
|
|
var (
|
|
localUserReadHistory IUserReadHistory
|
|
)
|
|
|
|
func UserReadHistory() IUserReadHistory {
|
|
if localUserReadHistory == nil {
|
|
panic("implement not found for interface IUserReadHistory, forgot register?")
|
|
}
|
|
return localUserReadHistory
|
|
}
|
|
|
|
func RegisterUserReadHistory(i IUserReadHistory) {
|
|
localUserReadHistory = i
|
|
}
|