Skip to content

fguby/Go-gin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gin Example

Go语言项目

使用Gin框架开发的一个例子,使用GORM,INI,Swagger,Redis,Kafka,ElaticSearch等库。

如何安装

$ git clone https://github.com/fguby/Go-gin.git

如何运行

环境依赖

  • Mysql
  • Redis
  • Kafka

app.ini

[server]
App = gin
Port = 8090
RunMode = debug
ReadTimeOut = 60
WriteTimeOut = 60
JwtSecret = love

[mysql]
user = root
password = 123456
host = 127.0.0.1:3306
db = bloc

swagger

http://localhost:port/swagger/index.html

avatar

About

gin框架的一个例子

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages