Skip to content
Based on gin, gorm RESTFUL style backend framework, using dep as the project's package manager
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
consts
docs
middleware/jwt
router
service/authentication
setting
util
.gitignore
LICENSE
README-en.md
README.md
go.mod
go.sum
main.go

README.md

go-backend-starter

中文 | English

介绍

使用Go Module作为依赖管理,基于Gin搭建Go的Web服务器,使用Endless来使服务器平滑重启,使用Swagger来自动生成Api文档。

安装

git clone https://github.com/detectiveHLH/go-backend-starter.git
cd go-backend-starter
go get
go run main.go

注意

  • go的版本需要高于1.11
  • 使用goland时,需要确保Go module是Enable状态

使用

许可

MIT

You can’t perform that action at this time.