funplugin icon indicating copy to clipboard operation
funplugin copied to clipboard

debugtalk.py 调用插件不支持 bool 返回

Open Danny5487401 opened this issue 1 year ago • 0 comments

当函数定义返回 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")
	}
        // ..

}

Danny5487401 avatar Aug 05 '24 06:08 Danny5487401