# hertz_hz_custom_template_hw_proto **Repository Path**: fpy-go/hertz_hz_custom_template_hw_proto ## Basic Information - **Project Name**: hertz_hz_custom_template_hw_proto - **Description**: 根据hz template 自定义模板生成的脚手架 - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-05 - **Last Updated**: 2025-08-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # *** Project ## introduce - Use the [Hertz](https://github.com/cloudwego/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 ```shell sh build.sh sh output/bootstrap.sh ``` 或者可以直接hz命令生成 ```shell hz new --mod=gitee.com/fpy-go/hertz_hz_custom_template_hw_proto --proto_path idl --idl=idl/v1/hw/miss.proto --customize_package=template/package.yaml --customize_layout=template/layout.yaml hz update --mod=gitee.com/fpy-go/hertz_hz_custom_template_hw_proto --proto_path idl --idl=idl/v1/hw/miss.proto --customize_package=template/package.yaml hz client --mod=gitee.com/fpy-go/hertz_hz_custom_template_hw_proto --proto_path idl --idl=idl/v1/hw/miss.proto --customize_package=template/package.yaml --query_enumint true ```