funplugin
funplugin copied to clipboard
debugtalk.py 调用插件不支持 bool 返回
当函数定义返回 True 或则 False 有问题
问题代码
func (m *functionGRPCClient) Call(funcName string, funcArgs ...interface{}) (interface{}, error) {
// ....
var resp interface{}
err = json.Unmarshal(response.Value, &resp)
if err != nil {
return nil, errors.Wrap(err, "failed to unmarshal Call() response")
}
// ..
}