answer/internal/service/reason_common/reason.go

12 lines
224 B
Go
Raw Permalink Normal View History

2022-09-27 17:59:05 +08:00
package reason_common
import (
"context"
2022-10-28 17:02:24 +08:00
"github.com/answerdev/answer/internal/schema"
2022-09-27 17:59:05 +08:00
)
type ReasonRepo interface {
ListReasons(ctx context.Context, objectType, action string) (resp []*schema.ReasonItem, err error)
2022-09-27 17:59:05 +08:00
}