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
1. What version of Go and system type/arch are you using?
go version go1.20.4 darwin/amd64
2. What version of GoFrame are you using?
GoFrame CLI Tool v2.5.1, https://goframe.org
GoFrame Version: v2.5.1 in current go.mod
CLI Installed At: /Users/xg/go/bin/gf
Current is a custom installed version, no installation information.
3. Can this issue be re-produced with the latest release?
yes
4. What did you do?
$ gf gen ctrl -k api/sdk
以上命令生成的api/sdk/sdk.iclient.go文件缺少必要的接口方法.
5. What did you expect to see?
vi api/sdk/sdk.iclient.go
// =================================================================================// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. // =================================================================================package sdk
import (
"github.com/windvalley/gf2-demo/api/demo"
)
typeIClientinterface {
DemoV1() demo.IDemoV1
}
6. What did you see instead?
vi api/sdk/sdk.iclient.go
// =================================================================================// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. // =================================================================================package sdk
import (
"github.com/windvalley/gf2-demo/api/demo"
)
typeIClientinterface {
}
The text was updated successfully, but these errors were encountered:
gqcn
added
bug
It is confirmed a bug, but don't worry, we'll handle it.
done
This issue is done, which may be release in next version.
labels
Aug 1, 2023
1. What version of
Go
and system type/arch are you using?go version go1.20.4 darwin/amd64
2. What version of
GoFrame
are you using?3. Can this issue be re-produced with the latest release?
yes
4. What did you do?
以上命令生成的
api/sdk/sdk.iclient.go
文件缺少必要的接口方法.5. What did you expect to see?
vi api/sdk/sdk.iclient.go
6. What did you see instead?
vi api/sdk/sdk.iclient.go
The text was updated successfully, but these errors were encountered: