mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
22 lines
420 B
Go
22 lines
420 B
Go
package team
|
|
|
|
import (
|
|
"reflect"
|
|
|
|
"github.com/APIParkLab/APIPark/service/universally"
|
|
"github.com/eolinker/go-common/autowire"
|
|
)
|
|
|
|
type ITeamService interface {
|
|
universally.IServiceGet[Team]
|
|
universally.IServiceDelete
|
|
universally.IServiceCreate[CreateTeam]
|
|
universally.IServiceEdit[EditTeam]
|
|
}
|
|
|
|
func init() {
|
|
autowire.Auto[ITeamService](func() reflect.Value {
|
|
return reflect.ValueOf(new(imlTeamService))
|
|
})
|
|
}
|