Replies: 1 comment
-
可以通过插件机制来实现 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
makefile文件内容大致如下
build:api
@go build -o cmd
run:
@go run gateway.go -f etc/gateway-api.yaml
api:clean_api
@goctl api go -api gateway.api -dir .
mysql:clean_model
@goctl model mysql ddl -src gateway.sql -dir ./model
model:clean_model
@goctl model mysql ddl -c -src gateway.sql -dir ./model
clean_api:
@echo "doing clean_api"
@-rm -rf ./internal/handler/*
clean_model:
@-rm -rf ./model/*
Beta Was this translation helpful? Give feedback.
All reactions