mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-07-06 16:11:56 +08:00
22 lines
455 B
Go
22 lines
455 B
Go
package catalogue
|
|
|
|
import (
|
|
"reflect"
|
|
|
|
"github.com/APIParkLab/APIPark/service/universally"
|
|
"github.com/eolinker/go-common/autowire"
|
|
)
|
|
|
|
type ICatalogueService interface {
|
|
universally.IServiceGet[Catalogue]
|
|
universally.IServiceDelete
|
|
universally.IServiceCreate[CreateCatalogue]
|
|
universally.IServiceEdit[EditCatalogue]
|
|
}
|
|
|
|
func init() {
|
|
autowire.Auto[ICatalogueService](func() reflect.Value {
|
|
return reflect.ValueOf(new(imlCatalogueService))
|
|
})
|
|
}
|