打包整合二进制文件

This commit is contained in:
flswld
2023-02-05 07:53:20 +08:00
parent 94c8db402a
commit 053990a33c
8 changed files with 5 additions and 9 deletions

View File

@@ -8,7 +8,6 @@ import (
"github.com/spf13/cobra"
)
// DispatchCmd
func DispatchCmd() *cobra.Command {
var cfg string
c := &cobra.Command{

View File

@@ -8,7 +8,6 @@ import (
"github.com/spf13/cobra"
)
// FightCmd 检查配表命令
func FightCmd() *cobra.Command {
var cfg string
c := &cobra.Command{

View File

@@ -8,7 +8,6 @@ import (
"github.com/spf13/cobra"
)
// GateCmd 检查配表命令
func GateCmd() *cobra.Command {
var cfg string
c := &cobra.Command{

View File

@@ -8,7 +8,6 @@ import (
"github.com/spf13/cobra"
)
// GMCmd
func GMCmd() *cobra.Command {
var cfg string
c := &cobra.Command{

View File

@@ -8,7 +8,6 @@ import (
"github.com/spf13/cobra"
)
// GSCmd
func GSCmd() *cobra.Command {
var cfg string
c := &cobra.Command{

View File

@@ -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 {

View File

@@ -8,7 +8,6 @@ import (
"github.com/spf13/cobra"
)
// NodeCmd 检查配表命令
func NodeCmd() *cobra.Command {
var cfg string
c := &cobra.Command{

View File

@@ -8,7 +8,6 @@ import (
"github.com/spf13/cobra"
)
// PathfindingCmd 检查配表命令
func PathfindingCmd() *cobra.Command {
var cfg string
c := &cobra.Command{