xjlgod commented on code in PR #805: URL: https://github.com/apache/incubator-seata-go/pull/805#discussion_r2081500357
########## pkg/saga/statemachine/engine/invoker/invoker.go: ########## @@ -19,11 +19,29 @@ package invoker import ( "context" - "github.com/seata/seata-go/pkg/saga/statemachine/statelang/state" + "encoding/json" + "fmt" "reflect" "sync" + + "github.com/seata/seata-go/pkg/saga/statemachine/statelang/state" ) +type JsonParser interface { Review Comment: Why must we use a structure to parse JSON here? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org