Skip to content

jzero-io/examples

Repository files navigation

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

Releases

No releases published

Packages

No packages published