mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-07-06 16:11:56 +08:00
21 lines
458 B
Go
21 lines
458 B
Go
package service_model_mapping
|
|
|
|
import (
|
|
"context"
|
|
"reflect"
|
|
|
|
"github.com/eolinker/go-common/autowire"
|
|
)
|
|
|
|
type IServiceModelMappingService interface {
|
|
Get(ctx context.Context, sid string) (*ModelMapping, error)
|
|
Save(ctx context.Context, input *Save) error
|
|
Delete(ctx context.Context, sid string) error
|
|
}
|
|
|
|
func init() {
|
|
autowire.Auto[IServiceModelMappingService](func() reflect.Value {
|
|
return reflect.ValueOf(new(imlServiceModelMappingService))
|
|
})
|
|
}
|