Skip to content
golang web project layout
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.
bootstrap first commit Aug 14, 2019
config first commit Aug 14, 2019
database
handler
log
middleware first commit Aug 14, 2019
model
repository first commit Aug 14, 2019
router first commit Aug 14, 2019
service
utils first commit Aug 14, 2019
.gitignore first commit Aug 14, 2019
README.md first commit Aug 14, 2019
go.mod
go.sum
server.go first commit Aug 14, 2019

README.md

Golang Web工程结构(echo)

依赖

  • Golang 1.11+
  • export GO111MODULE=on

开发运行

  • 安装依赖 go mod tidy
  • 配置 config/dev.ini
  • fresh server.go --env dev
You can’t perform that action at this time.