hertz-scaffold

command module
v0.0.0-...-d152970 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

*** 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

Documentation

Overview

Copyright © 2023 shiyi shiyi@threebody.xyz

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL