mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
19 lines
317 B
Go
19 lines
317 B
Go
package system
|
|
|
|
import (
|
|
"context"
|
|
"reflect"
|
|
|
|
"github.com/eolinker/go-common/autowire"
|
|
)
|
|
|
|
type ISystemPermitModule interface {
|
|
Permissions(ctx context.Context) ([]string, error)
|
|
}
|
|
|
|
func init() {
|
|
autowire.Auto[ISystemPermitModule](func() reflect.Value {
|
|
return reflect.ValueOf(new(imlSystemPermitModule))
|
|
})
|
|
}
|