2 Star 12 Fork 13

王布衣/engine

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
command_app.go 431 Bytes
一键复制 编辑 原始数据 按行查看 历史
王布衣 提交于 2023-12-13 05:09 +08:00 . 收敛获取应用程序文件名的方法
package command
import (
"gitee.com/quant1x/gox/runtime"
)
var (
Application = "stock"
MinVersion = "0.0.1" // 版本号
barIndex = 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
v0.8.5

搜索帮助