Skip to content

Latest commit

 

History

History
69 lines (54 loc) · 825 Bytes

README.md

File metadata and controls

69 lines (54 loc) · 825 Bytes

examples

jzero examples

Install

go install github.com/jzero-io/jzero@latest
jzero check

api

jzero new simpleapi --frame api
cd simpleapi
jzero gen
go mod tidy
go run main.go server

gateway

jzero new simplegateway --frame gateway
cd simplegateway
jzero gen
go mod tidy
go run main.go server

rpc

jzero new simplerpc --frame rpc
cd simplerpc
jzero gen
go mod tidy
go run main.go server

cli

jzero new simplecli --branch cli
cd simplecli
go mod tidy
go run main.go

api-goctl

jzero new simpleapi-goctl --branch api-goctl
cd simpleapi-goctl
jzero gen
go mod tidy
go run main.go server

rpc-goctl

jzero new simplerpc-goctl --branch rpc-goctl
cd simplerpc-goctl
jzero gen
go mod tidy
go run main.go server