Skip to content

Commit

Permalink
feat(jzero): default not generate zrpcclient when using gen command
Browse files Browse the repository at this point in the history
  • Loading branch information
jaronnie committed Jul 3, 2024
1 parent c034ee1 commit 1525f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/gen/genrpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (jr *JzeroRpc) Gen() error {
fmt.Printf("%s to generate proto code. \n%s proto file %s\n", color.WithColor("Start", color.FgGreen), color.WithColor("Using", color.FgGreen), v)
zrpcOut := "."

command := fmt.Sprintf("goctl rpc protoc %s -I%s --go_out=%s --go-grpc_out=%s --zrpc_out=%s --client=true --home %s -m --style %s ",
command := fmt.Sprintf("goctl rpc protoc %s -I%s --go_out=%s --go-grpc_out=%s --zrpc_out=%s --client=false --home %s -m --style %s ",
v,
protoDirPath,
filepath.Join("internal"),
Expand Down

0 comments on commit 1525f47

Please sign in to comment.