This commit is contained in:
wangchuxiao
2023-03-13 12:34:56 +08:00
parent 9645d16b2d
commit 9fcfdc9fab
24 changed files with 146 additions and 146 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ type RpcCmd struct {
*RootCmd
}
func NewRpcCmd() *RpcCmd {
authCmd := &RpcCmd{NewRootCmd()}
func NewRpcCmd(name string) *RpcCmd {
authCmd := &RpcCmd{NewRootCmd(name)}
return authCmd
}