【文件属性】:
文件名称:go-clean-architecture-web-application-boilerplate:使用 go and clean 架构构建的 Web 应用程序样板
文件大小:27KB
文件格式:ZIP
更新时间:2021-05-30 15:03:36
api docker golang boilerplate mvc
go-clean-architecture-web-application-boilerplate
使用 go and clean 架构构建的 Web 应用程序样板这个应用程序的大部分内容都是由标准库构建的。
开始使用
cp app/.env_example app/.env docker-compose build cp app/.env_example app/.env docker-compose up
运行docker后,需要执行app/database/sql sql文件。
建筑学
app
├── database
│ ├── migrations
│ │ └── schema.sql
│ └── seeds
│ └── faker.sql
├── domain
│ ├── post.go
│ └── user.go
├── infras
【文件预览】:
go-clean-architecture-web-application-boilerplate-master
----go.mod(228B)
----docker()
--------go()
--------mysql()
----.github()
--------PULL_REQUEST_TEMPLATE.md(97B)
--------CONTRIBUTING.md(113B)
--------CODE_OF_CONDUCT.md(3KB)
--------ISSUE_TEMPLATE()
----go.sum(1KB)
----.circleci()
--------config.yml(1KB)
----LICENSE(1KB)
----README.md(5KB)
----docker-compose.yml(568B)
----.editorconfig(174B)
----.gitignore(144B)
----app()
--------main.go(384B)
--------log()
--------domain()
--------database()
--------.realize.yaml(455B)
--------usecases()
--------interfaces()
--------infrastructure()
--------.env_example(125B)