Documentation ¶
Overview ¶
Package main sponge is a basic development framework that integrates code auto generation, Gin and GRPC, a microservice framework. it is easy to build a complete project from development to deployment, just fill in the business logic code on the generated template code, greatly improved development efficiency and reduced development difficulty, the use of Go can also be "low-code development".
Directories ¶
Path | Synopsis |
---|---|
Package commands are subcommands of the sponge command.
|
Package commands are subcommands of the sponge command. |
generate
Package generate is to generate code, including model, cache, dao, handler, http, service, grpc, grpc-gw, grpc-cli code.
|
Package generate is to generate code, including model, cache, dao, handler, http, service, grpc, grpc-gw, grpc-cli code. |
merge
Package merge is merge the generated code into the template file, you don't worry about it affecting the logic code you have already written, in case of accidents, you can find the pre-merge code in the directory /tmp/sponge_merge_backup_code
|
Package merge is merge the generated code into the template file, you don't worry about it affecting the logic code you have already written, in case of accidents, you can find the pre-merge code in the directory /tmp/sponge_merge_backup_code |
patch
Package patch is command set for patching service code.
|
Package patch is command set for patching service code. |
Package server is a sponge UI service that contains the front-end pages.
|
Package server is a sponge UI service that contains the front-end pages. |
Click to show internal directories.
Click to hide internal directories.