From 053990a33c0e5cabf41a79b2bd23f49a0b9a033f Mon Sep 17 00:00:00 2001 From: flswld Date: Sun, 5 Feb 2023 07:53:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85=E6=95=B4=E5=90=88=E4=BA=8C?= =?UTF-8?q?=E8=BF=9B=E5=88=B6=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/hk4e/dispatch.go | 1 - cmd/hk4e/fight.go | 1 - cmd/hk4e/gate.go | 1 - cmd/hk4e/gm.go | 1 - cmd/hk4e/gs.go | 1 - cmd/hk4e/main.go | 7 +++++-- cmd/hk4e/node.go | 1 - cmd/hk4e/pathfinding.go | 1 - 8 files changed, 5 insertions(+), 9 deletions(-) diff --git a/cmd/hk4e/dispatch.go b/cmd/hk4e/dispatch.go index a58ded68..ec24510e 100644 --- a/cmd/hk4e/dispatch.go +++ b/cmd/hk4e/dispatch.go @@ -8,7 +8,6 @@ import ( "github.com/spf13/cobra" ) -// DispatchCmd func DispatchCmd() *cobra.Command { var cfg string c := &cobra.Command{ diff --git a/cmd/hk4e/fight.go b/cmd/hk4e/fight.go index 8c2198bb..e7701352 100644 --- a/cmd/hk4e/fight.go +++ b/cmd/hk4e/fight.go @@ -8,7 +8,6 @@ import ( "github.com/spf13/cobra" ) -// FightCmd 检查配表命令 func FightCmd() *cobra.Command { var cfg string c := &cobra.Command{ diff --git a/cmd/hk4e/gate.go b/cmd/hk4e/gate.go index cd66d69a..d1af7d03 100644 --- a/cmd/hk4e/gate.go +++ b/cmd/hk4e/gate.go @@ -8,7 +8,6 @@ import ( "github.com/spf13/cobra" ) -// GateCmd 检查配表命令 func GateCmd() *cobra.Command { var cfg string c := &cobra.Command{ diff --git a/cmd/hk4e/gm.go b/cmd/hk4e/gm.go index 55ba1662..8b30b3b9 100644 --- a/cmd/hk4e/gm.go +++ b/cmd/hk4e/gm.go @@ -8,7 +8,6 @@ import ( "github.com/spf13/cobra" ) -// GMCmd func GMCmd() *cobra.Command { var cfg string c := &cobra.Command{ diff --git a/cmd/hk4e/gs.go b/cmd/hk4e/gs.go index 0afaf6c7..bbfe3b12 100644 --- a/cmd/hk4e/gs.go +++ b/cmd/hk4e/gs.go @@ -8,7 +8,6 @@ import ( "github.com/spf13/cobra" ) -// GSCmd func GSCmd() *cobra.Command { var cfg string c := &cobra.Command{ diff --git a/cmd/hk4e/main.go b/cmd/hk4e/main.go index c7685e68..49a5543e 100644 --- a/cmd/hk4e/main.go +++ b/cmd/hk4e/main.go @@ -20,10 +20,13 @@ func main() { SilenceUsage: true, } rootCmd.AddCommand( - GSCmd(), - GMCmd(), + NodeCmd(), DispatchCmd(), GateCmd(), + FightCmd(), + PathfindingCmd(), + GSCmd(), + GMCmd(), ) if err := rootCmd.Execute(); err != nil { diff --git a/cmd/hk4e/node.go b/cmd/hk4e/node.go index 55eef015..a0884e0d 100644 --- a/cmd/hk4e/node.go +++ b/cmd/hk4e/node.go @@ -8,7 +8,6 @@ import ( "github.com/spf13/cobra" ) -// NodeCmd 检查配表命令 func NodeCmd() *cobra.Command { var cfg string c := &cobra.Command{ diff --git a/cmd/hk4e/pathfinding.go b/cmd/hk4e/pathfinding.go index dd8f97da..84321c1b 100644 --- a/cmd/hk4e/pathfinding.go +++ b/cmd/hk4e/pathfinding.go @@ -8,7 +8,6 @@ import ( "github.com/spf13/cobra" ) -// PathfindingCmd 检查配表命令 func PathfindingCmd() *cobra.Command { var cfg string c := &cobra.Command{