普通代码生成工具,从 kratos 改成 strong ,符合自己平时需要的生成文档格式
win
go install github.com/go-strong/strong-gen/tool/strong@v1.0.1
strong tool install all
cd /e/Dream/Plan2021_blockgo/src
$ strong new strong-saga-demo
$ cd strong-saga-demo/cmd/
$ go mod tidy
$ go run main.go -conf saga-admin-test.toml