mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-04 10:13:53 +08:00
19 lines
350 B
Go
19 lines
350 B
Go
package permit_system
|
|
|
|
import (
|
|
"reflect"
|
|
|
|
"github.com/eolinker/go-common/autowire"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
type ISystemPermitController interface {
|
|
Permissions(ctx *gin.Context) ([]string, error)
|
|
}
|
|
|
|
func init() {
|
|
autowire.Auto[ISystemPermitController](func() reflect.Value {
|
|
return reflect.ValueOf(new(imlSystemPermitController))
|
|
})
|
|
}
|