Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
将代码支持使用docker开发,开箱即用。
无需安装 go、无需安装 mysql、无需手动导入数据表,开箱即用。
make gomod
或者make dep
安装 go 依赖包make dev
之后即可打开 浏览器看效果。编译方式也改为由 docker 镜像编译,
make build-server
和make build-gethot
。使用的 go 镜像版本为最新版本 1.13.0,使用 mysql 镜像为最新版本 8.0.17
项目主代码没有任何修改,简单修改了引入包的方式,以及简单修改了目录结构,将源码放入 src 目录。