// ================================================================================ // 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 { // Add 添加历史记录 Add(ctx context.Context, in *model.UserReadHistoryAddIn) (out *model.UserReadHistoryCRUDOut, err error) // Delete 批量删除历史记录 Delete(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 }