This is an enterprise-level Gin template

Introduce

This note of code is Chinese.

Directory structure

Process

  1. Configuring Viper for reading YAML configuration files
  2. Init the router information
  3. Gracefully restart or stop
  4. Integrating Zap Logger