2 Star 12 Fork 13

王布衣/engine

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
command_app.go 418 Bytes
一键复制 编辑 原始数据 按行查看 历史
王布衣 提交于 2024-01-23 09:45 +08:00 . 调整进度条归属源文件到command_update
package command
import "gitee.com/quant1x/gox/runtime"
var (
Application = "stock"
MinVersion = "0.0.1" // 主程序版本号
)
func init() {
Application = runtime.ApplicationName()
}
// UpdateApplicationName 更新应用(Application)名称
func UpdateApplicationName(name string) {
Application = name
}
// UpdateApplicationVersion 更新版本号
func UpdateApplicationVersion(v string) {
MinVersion = v
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/quant1x/engine.git
git@gitee.com:quant1x/engine.git
quant1x
engine
engine
v1.6.9

搜索帮助