You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ================================================================================// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.// You can delete these comments if you wish manually maintain this interface file.// ================================================================================package service
import (
"context"
systemV1 "gman/api/system/v1""gman/internal/model""github.com/casbin/casbin"
)
type (
ISysteminterface {
GetEnforcer(ctx context.Context) (en*casbin.SyncedEnforcer)
}
)
var (
localSystemISystem
)
funcSystem() ISystem {
iflocalSystem==nil {
panic("implement not found for interface ISystem, forgot register?")
}
returnlocalSystem
}
funcRegisterSystem(iISystem) {
localSystem=i
}
What did you expect to see?
I need casbin package: github.com/casbin/casbin/v2
// ================================================================================// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.// You can delete these comments if you wish manually maintain this interface file.// ================================================================================package service
import (
"context"
systemV1 "gman/api/system/v1""gman/internal/model""github.com/casbin/casbin/v2"
)
type (
ISysteminterface {
GetEnforcer(ctx context.Context) (en*casbin.SyncedEnforcer)
}
)
var (
localSystemISystem
)
funcSystem() ISystem {
iflocalSystem==nil {
panic("implement not found for interface ISystem, forgot register?")
}
returnlocalSystem
}
funcRegisterSystem(iISystem) {
localSystem=i
}
What did you see instead?
package service
import (
"github.com/casbin/casbin"
)
The text was updated successfully, but these errors were encountered:
What version of
Go
and system type/arch are you using?go1.20.5 darwin/amd64
What version of
GoFrame
are you using?GF Version(go.mod):
github.com/gogf/gf/v2@v2.7.0
Can this bug be re-produced with the latest release?
yes
What did you do?
this is my logic code:
gf gen service
What did you expect to see?
I need casbin package:
github.com/casbin/casbin/v2
What did you see instead?
The text was updated successfully, but these errors were encountered: