Categorygithub.com/WellyZhang1994/go-gin-with-mysql
modulepackage
0.0.0-20240623030222-8821c6d14da6
Repository: https://github.com/wellyzhang1994/go-gin-with-mysql.git
Documentation: pkg.go.dev

# README

Basic folder structure with gin framework and mysql database


Description

  • A basic folder structure includes the following components: Server, Controller, Model, DB, Middleware, Forms, and Config.
  • This structure is referenced from https://github.com/vsouza/go-gin-boilerplate.
  • I use MySQL as the database to quickly build a backend system.

Usage

  • restore package
    go mod tidy
    
  • copy the config/.template.yaml to development.yaml and setup the correct setting
  • start
     go run main.go
    

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author