5c31af55db
- 在 register.go 文件中添加了关于注册服务接口的使用说明注释 - 注释包含了 curl 命令示例和接口调用方式的说明
*** Project
introduce
- Use the Hertz framework
- Integration of pprof, cors, recovery, access_log, gzip and other extensions of Hertz.
- Generating the base code for unit tests.
- Provides basic profile functions.
- Provides the most basic MVC code hierarchy.
Directory structure
| catalog | introduce |
|---|---|
| conf | Configuration files |
| main.go | Startup file |
| hertz_gen | Hertz generated model |
| biz/handler | Used for request processing, validation and return of response. |
| biz/service | The actual business logic. |
| biz/dal | Logic for operating the storage layer |
| biz/route | Routing and middleware registration |
| biz/utils | Wrapped some common methods |
How to run
sh build.sh
sh output/bootstrap.sh