Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GoGoCmd = &cobra.Command{ Use: "gogo", Short: "generate protocol buffers", Run: func(cmd *cobra.Command, args []string) { if err := GoGo(dir); err != nil { log.Fatalln("failed to execute command", errors.WithStack(err)) } }, }
protocCmd represents the protoc command
View Source
var ProtocCmd = &cobra.Command{ Use: "protoc", Short: "A brief description of your command", Run: func(cmd *cobra.Command, args []string) { if err := Grpc(dir); err != nil { log.Fatalln("failed to execute command", err) } }, }
protocCmd represents the protoc command
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.