chore: optimize import sort and the short description of run cmd (#1211)

* chore: change lowercase to uppercase

* chore: optimize import
pull/1213/head
Richard 3 years ago committed by GitHub
parent c2e25ffd11
commit ff24e18a94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      cmd/kratos/internal/run/run.go
  2. 1
      cmd/kratos/main.go

@ -16,8 +16,8 @@ import (
// CmdRun run project command. // CmdRun run project command.
var CmdRun = &cobra.Command{ var CmdRun = &cobra.Command{
Use: "run", Use: "run",
Short: "run project", Short: "Run project",
Long: "run project. Example: kratos run", Long: "Run project. Example: kratos run",
Run: Run, Run: Run,
} }

@ -8,6 +8,7 @@ import (
"github.com/go-kratos/kratos/cmd/kratos/v2/internal/proto" "github.com/go-kratos/kratos/cmd/kratos/v2/internal/proto"
"github.com/go-kratos/kratos/cmd/kratos/v2/internal/run" "github.com/go-kratos/kratos/cmd/kratos/v2/internal/run"
"github.com/go-kratos/kratos/cmd/kratos/v2/internal/upgrade" "github.com/go-kratos/kratos/cmd/kratos/v2/internal/upgrade"
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )

Loading…
Cancel
Save