sysl-go-rest
generates RESTful API in the Go programming language for given Sysl specification.
go install github.com/anz-bank/gosysl/cmd/sysl-go-rest
sysl pb example.sysl -o example.pb
sysl-go-rest example.pb pkg
Protoc and Golang-Protobuf-plugin
Use protoc compiler with golang Plugin to generate golang source code sysl.pb.go
:
protoc --go_out=. pb/sysl.proto