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