mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-08 19:16:35 +08:00
test cobra
This commit is contained in:
@@ -10,7 +10,7 @@ type RootCmd struct {
|
||||
Command cobra.Command
|
||||
}
|
||||
|
||||
func NewRootCmd() RootCmd {
|
||||
func NewRootCmd(f func() error) RootCmd {
|
||||
c := cobra.Command{
|
||||
Use: "start",
|
||||
Short: "Start the server",
|
||||
|
||||
Reference in New Issue
Block a user