Makefile 353 字节
.PHONY: model
model:
	goctl model mysql ddl -s .\deploy\database\table.sql -d cmd/discuss

.PHONY: api
api:
	goctl api go -api .\cmd\discuss\api\dsl\core.api -dir cmd/discuss/api -style go_zero

.PHONY: swagger
swagger:
	goctl api plugin -plugin goctl-swagger="swagger -filename core.json" -api .\cmd\discuss\api\dsl\core.api -dir .\cmd\discuss\api\dsl