ptyin commented on code in PR #649:
URL: 
https://github.com/apache/incubator-seata-go/pull/649#discussion_r1470646111


##########
pkg/saga/statemachine/engine/serializer/serializer.go:
##########
@@ -0,0 +1,47 @@
+package serializer
+
+import (
+       "bytes"
+       "encoding/gob"
+       "encoding/json"
+       "github.com/pkg/errors"
+)
+
+type Serializer[S any, T any] interface {

Review Comment:
   Yes, `Serializer` is a generic interface. This interface refers to the Java 
implementation (using generics as well). Is any specific reason that we should 
not use generics?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to