Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "0000000 [ 2020/10/31 09:46:00 ]"
Version 版本号 用于 ORM 模块判断是否需要进行数据库结构自动迁移 用于输入版本信息到响应头 设置为距离当前时间较为久远的项目创始时间,避免每次调试时都需要自动同步数据库 可以通过编译的方式指定版本号:go build -ldflags "-X main.VERSION=x.x.x"
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.