hotfix icon indicating copy to clipboard operation
hotfix copied to clipboard

在运行时支持热刷go脚本,可动态替换函数、属性。

Results 1 hotfix issues
Sort by recently updated
recently updated
newest added

phantacix,你好: 想要替换的是业务处理的函数,它会有一些第三方的依赖,如: github.com/golang/protobuf/proto xxx.com/root/DawnCore/basic //自建的项目公共库,里面包含日志类 。。。 而且还用到一些全局变量,如日志,连接器对象等,xxx.com是公司域名,有点敏感,就用xxx.com代替了 在项目中写一个例子尝试了下,会报错: [2023-11-09 11:21:00,222][0 0 Error 7 1]hotfixdo.go:19 hotfix.ApplyFunc(),err=./_patch_files/patch/patch.go:8:2: import "xxx.com/root/DawnCore/basic" error: unable to find source related to: "xxx.com/root/DawnCore/basic". Either the GOPATH environment variable,...