37 lines
1.1 KiB
Go
37 lines
1.1 KiB
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 (
|
|
IFeedback interface {
|
|
List(ctx context.Context, in *model.FeedbackIn) (out *model.FeedbackOut, err error)
|
|
Create(ctx context.Context, in *model.FeedbackCreateIn) (out *model.FeedbackCreateOut, err error)
|
|
Update(ctx context.Context, in *model.FeedbackUpdateIn) (out *model.FeedbackUpdateOut, err error)
|
|
UpdateReply(ctx context.Context, in *model.FeedbackUpdateReplyIn) (out *model.FeedbackUpdateReplyOut, err error)
|
|
InfoFeedback(ctx context.Context, in *model.FeedbackInfoIn) (out *model.FeedbackInfoOut, err error)
|
|
}
|
|
)
|
|
|
|
var (
|
|
localFeedback IFeedback
|
|
)
|
|
|
|
func Feedback() IFeedback {
|
|
if localFeedback == nil {
|
|
panic("implement not found for interface IFeedback, forgot register?")
|
|
}
|
|
return localFeedback
|
|
}
|
|
|
|
func RegisterFeedback(i IFeedback) {
|
|
localFeedback = i
|
|
}
|