|
|
@ -39,7 +39,7 @@ func run(cmd *cobra.Command, args []string) { |
|
|
|
err error |
|
|
|
err error |
|
|
|
proto = strings.TrimSpace(args[0]) |
|
|
|
proto = strings.TrimSpace(args[0]) |
|
|
|
) |
|
|
|
) |
|
|
|
if err = look("protoc-gen-go", "protoc-gen-go-grpc", "protoc-gen-go-http", "protoc-gen-go-errors", "protoc-gen-validate"); err != nil { |
|
|
|
if err = look("protoc-gen-go", "protoc-gen-go-grpc", "protoc-gen-go-http", "protoc-gen-go-errors", "protoc-gen-validate", "protoc-gen-openapi"); err != nil { |
|
|
|
// update the kratos plugins
|
|
|
|
// update the kratos plugins
|
|
|
|
cmd := exec.Command("kratos", "upgrade") |
|
|
|
cmd := exec.Command("kratos", "upgrade") |
|
|
|
cmd.Stdout = os.Stdout |
|
|
|
cmd.Stdout = os.Stdout |
|
|
|