mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-26 01:51:29 +08:00
refactor: move uixt ext to EvalTools
This commit is contained in:
@@ -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)
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user