jzero examples
go install github.com/jzero-io/jzero@latest
jzero check
jzero new quickstart
cd quickstart
jzero gen
go mod tidy
go run main.go server
jzero new simplegateway --branch gateway
cd simplegateway
jzero gen
go mod tidy
go run main.go server
jzero new simpleapi --branch api
cd simpleapi
jzero gen
go mod tidy
go run main.go server
jzero new simpleapi-goctl --branch api
cd simpleapi-goctl
jzero gen
go mod tidy
go run main.go server
jzero new simplerpc --branch rpc
cd simplerpc
jzero gen
go mod tidy
go run main.go server
与原生 goctl 的 rpc 模板保持一致
jzero new simplerpc-goctl --branch rpc-goctl
cd simplerpc-goctl
jzero gen
go mod tidy
go run main.go server
jzero new simplecli --branch cli
cd simplecli
go mod tidy
go run main.go server