diff --git a/cmd/cobra.go b/cmd/cobra.go index 8f18576..5f55d71 100644 --- a/cmd/cobra.go +++ b/cmd/cobra.go @@ -27,7 +27,7 @@ var rootCmd = &cobra.Command{ Args: func(cmd *cobra.Command, args []string) error { if len(args) < 1 { tip() - return errors.New(pkg.Red("requires at least one arg")) + return errors.New(pkg.Red("requires at least one arg")) } return nil }, diff --git a/cmd/server/server.go b/cmd/server/server.go index 754b05b..ee507b6 100644 --- a/cmd/server/server.go +++ b/cmd/server/server.go @@ -7,6 +7,7 @@ import ( "github.com/mss-boot-io/mss-boot/core/server" "github.com/mss-boot-io/mss-boot/core/server/listener" "github.com/spf13/cobra" + "service-http/config" "service-http/router" )