update doc

This commit is contained in:
zhuyasen 2023-10-29 13:57:48 +08:00
parent 45e77dde11
commit 1626ec7182
2 changed files with 12 additions and 0 deletions

View File

@ -18,6 +18,12 @@
<br>
If you are developing a web or microservice with a simple CRUD API interface, you don't need to write a single line of golang code to compile and deploy to servers, dockers, k8s, and the complete service code is generated by sponge.
If you develop a generic web or microservice, you need to manually write code in addition to defining the data table, defining the api interface in the proto file, and filling in the specific business logic code in the generated template file. Other golang codes are generated by sponge.
<br>
### sponge generates the code framework
sponge is mainly based on **SQL** and **Protobuf** two ways to generate code, each way has to generate code for different functions.

View File

@ -2,6 +2,12 @@
<br>
如果开发只有简单CRUD api接口的web或微服务不需要编写一行golang代码就可以编译并部署到服务器、docker、k8s上完整的服务代码由sponge一键生成。
如果开发通用的web或微服务除了定义数据表、在proto文件定义api接口、在生成的模板文件填写具体业务逻辑代码这三个部分需要人工编写代码其他golang代码都由sponge生成。
<br>
### 生成代码框架
sponge主要基于**SQL**和**Protobuf**两种方式生成代码,每种方式拥有生成不同功能代码。