Files
2024-08-12 21:38:09 +08:00

29 lines
416 B
Go

package team
import (
"context"
"reflect"
"github.com/eolinker/go-common/autowire"
)
const (
accessGroup = "team"
)
type ITeamPermitModule interface {
Permissions(ctx context.Context, teamId string) ([]string, error)
}
func init() {
var m *imlTeamPermitModule
autowire.Auto[ITeamPermitModule](func() reflect.Value {
if m == nil {
m = new(imlTeamPermitModule)
}
return reflect.ValueOf(m)
})
}