with normal string gob

This commit is contained in:
2022-11-05 23:09:16 +01:00
parent 60623df003
commit e34aa4134e
3 changed files with 7 additions and 4 deletions

View File

@@ -9,9 +9,9 @@ type PluginServer struct {
Impl Plugin
}
func (ps *PluginServer) Do(args *string, resp *string) error {
func (ps *PluginServer) Do(args string, resp *string) error {
var doReq DoRequest
if err := json.Unmarshal([]byte(*args), &doReq); err != nil {
if err := json.Unmarshal([]byte(args), &doReq); err != nil {
return err
}