An open API service indexing awesome lists of open source software.

https://github.com/uptutu/gin-init

init gin Goooo~~~ Project start here~~~
https://github.com/uptutu/gin-init

Last synced: over 1 year ago
JSON representation

init gin Goooo~~~ Project start here~~~

Awesome Lists containing this project

README

          

开始项目

API 接口初始化框架,拉下即用

获取第三方包
```bash
go get
```


在GoLand设置中需要勾选 Go mod 启用,不然会有包会红线

安装swagger
```bash
go get -u github.com/swaggo/swag/cmd/swag
```


使用组建有



框架

  • Gin


    数据库模型
  • github.com/jinzhu/gorm
  • github.com/go-sql-driver/mysql



    配置读取

  • github.com/go-ini/ini


    工具
  • github.com/Unknwon/com
  • github.com/astaxie/beego/validation

    API文档

  • github.com/swaggo/swag/cmd/swag
  • github.com/swaggo/gin-swagger
  • github.com/swaggo/gin-swagger/swaggerFiles