{"modulePath":"github.com/acoderup/goctl","version":"v1.1.7","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package cli\n\n## Variables\n\n```go\nvar (\n\t// VarStringOutput describes the output.\n\tVarStringOutput string\n\t// VarStringHome describes the goctl home.\n\tVarStringHome string\n\t// VarStringRemote describes the remote git repository.\n\tVarStringRemote string\n\t// VarStringBranch describes the git branch.\n\tVarStringBranch string\n\t// VarStringSliceGoOut describes the go output.\n\tVarStringSliceGoOut []string\n\t// VarStringSliceGoGRPCOut describes the grpc output.\n\tVarStringSliceGoGRPCOut []string\n\t// VarStringSlicePlugin describes the protoc plugin.\n\tVarStringSlicePlugin []string\n\t// VarStringSliceProtoPath describes the proto path.\n\tVarStringSliceProtoPath []string\n\t// VarStringSliceGoOpt describes the go options.\n\tVarStringSliceGoOpt []string\n\t// VarStringSliceGoGRPCOpt describes the grpc options.\n\tVarStringSliceGoGRPCOpt []string\n\t// VarStringStyle describes the style of output files.\n\tVarStringStyle string\n\t// VarStringZRPCOut describes the zRPC output.\n\tVarStringZRPCOut string\n\t// VarBoolIdea describes whether idea or not\n\tVarBoolIdea bool\n\t// VarBoolVerbose describes whether verbose.\n\tVarBoolVerbose bool\n\t// VarBoolMultiple describes whether support generating multiple rpc services or not.\n\tVarBoolMultiple bool\n\t// VarBoolClient describes whether to generate rpc client\n\tVarBoolClient bool\n\t// VarStringModule describes the module name for go.mod.\n\tVarStringModule string\n)\n```\n\n## Functions\n\n```go\nfunc RPCNew(_ *cobra.Command, args []string) error\n```\nRPCNew is to generate rpc greet service, this greet service can speed up your understanding of the zrpc service structure\n\n```go\nfunc RPCTemplate(latest bool) error\n```\nRPCTemplate is the entry for generate rpc template\n\n```go\nfunc ZRPC(_ *cobra.Command, args []string) error\n```\nZRPC generates grpc code directly by protoc and generates zrpc code by goctl.\n\n","path":"github.com/acoderup/goctl/rpc/cli","name":"cli","synopsis":"","isRedistributable":true}
