2 Star 14 Fork 16

王布衣/engine

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
application.go 160 Bytes
一键复制 编辑 原始数据 按行查看 历史
王布衣 提交于 2023-10-29 09:21 +08:00 . 收敛recover捕获panic异常的方法
package runtime
import (
"os"
"path/filepath"
)
func ApplicationName() string {
path, _ := os.Executable()
_, exec := filepath.Split(path)
return exec
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/quant1x/engine.git
git@gitee.com:quant1x/engine.git
quant1x
engine
engine
v0.7.1

搜索帮助