Skip to content

Commit 670b73b

Browse files
committed
migrating examples files
1 parent 3d7e8e1 commit 670b73b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+28
-617
lines changed

.github/RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
- Add generate cache code command and UI interface.
44
- Convert swagger.json 64-bit fields type string to integer.
55
- Uniform json name style for camel case.
6-
- convert rpc code to http code.
6+
- Convert rpc code to http code.
77
- Update documentation.

README.md

Lines changed: 6 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
[![Go Reference](https://pkg.go.dev/badge/github.com/zhufuyi/sponge.svg)](https://pkg.go.dev/github.com/zhufuyi/sponge)
1212
[![Go](https://github.com/zhufuyi/sponge/workflows/Go/badge.svg?branch=main)](https://github.com/zhufuyi/sponge/actions)
1313
[![License: MIT](https://img.shields.io/github/license/zhufuyi/sponge)](https://img.shields.io/github/license/zhufuyi/sponge)
14-
[![Join the chat at https://gitter.im/zhufuyi/sponge](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/zhufuyi/sponge?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
1514

1615
</div>
1716

@@ -80,36 +79,14 @@ Visit `http://localhost:24631` in your browser, generate code by manipulating it
8079

8180
<br>
8281

83-
Example of sql based web project code generation.
84-
85-
<p align="center">
86-
<img width="1500px" src="https://raw.githubusercontent.com/zhufuyi/sponge/main/assets/web-http-en.gif">
87-
</p>
88-
89-
After downloading the web project code, execute the command to start the service.
90-
91-
```bash
92-
# update swagger
93-
make docs
94-
95-
# build and run
96-
make run
97-
```
98-
99-
<br>
100-
101-
💡 If you don't want to use the UI interface, you can use the sponge command line to generate code, there is a wealth of examples in the command line helper information, and some of the code generation commands are more convenient than using the UI interface.
102-
103-
<br>
104-
10582
### Examples of use
10683

107-
- [Generate the complete web service project code](https://github.com/zhufuyi/sponge/tree/main/examples/1_web-gin-CRUD)
108-
- [Generate generic web service project code](https://github.com/zhufuyi/sponge/tree/main/examples/2_web-gin-protobuf)
109-
- [Generate complete microservice(gRPC) project code](https://github.com/zhufuyi/sponge/tree/main/examples/3_micro-grpc-CRUD)
110-
- [Generates generic microservice(gRPC) project code](https://github.com/zhufuyi/sponge/tree/main/examples/4_micro-grpc-protobuf)
111-
- [Generate rpc gateway service project code](https://github.com/zhufuyi/sponge/tree/main/examples/5_micro-gin-rpc-gateway)
112-
- [Generate microservice cluster project code](https://github.com/zhufuyi/sponge/tree/main/examples/6_micro-cluster)
84+
- [1_web-gin-CRUD](https://github.com/zhufuyi/sponge_examples/tree/main/1_web-gin-CRUD)
85+
- [2_web-gin-protobuf](https://github.com/zhufuyi/sponge_examples/tree/main/2_web-gin-protobuf)
86+
- [3_micro-grpc-CRUD](https://github.com/zhufuyi/sponge_examples/tree/main/3_micro-grpc-CRUD)
87+
- [4_micro-grpc-protobuf](https://github.com/zhufuyi/sponge_examples/tree/main/4_micro-grpc-protobuf)
88+
- [5_micro-gin-rpc-gateway](https://github.com/zhufuyi/sponge_examples/tree/main/5_micro-gin-rpc-gateway)
89+
- [6_micro-cluster](https://github.com/zhufuyi/sponge_examples/tree/main/6_micro-cluster)
11390

11491
<br>
11592

-68.8 KB
Binary file not shown.
-131 KB
Binary file not shown.
-65.3 KB
Binary file not shown.
-95.3 KB
Binary file not shown.
-113 KB
Binary file not shown.
-86.9 KB
Binary file not shown.
-86.9 KB
Binary file not shown.
-87 KB
Binary file not shown.

0 commit comments

Comments
 (0)