refactor: move uixt ext to EvalTools

This commit is contained in:
lilong.129
2025-03-14 10:55:46 +08:00
parent eb730c2ebe
commit b412fa193b
13 changed files with 3 additions and 1295 deletions

View File

@@ -1,9 +1,8 @@
package cmd
import (
"github.com/httprunner/httprunner/v5/server"
"github.com/spf13/cobra"
server_ext "github.com/httprunner/httprunner/v5/server/ext"
)
// serverCmd represents the server command
@@ -13,8 +12,7 @@ var serverCmd = &cobra.Command{
Long: `start hrp server, call httprunner by HTTP`,
Args: cobra.MinimumNArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
return server_ext.NewExtRouter().Run(port)
// return server.NewRouter().Run(port)
return server.NewRouter().Run(port)
},
}