gbabyX opened a new issue #71:
URL: https://github.com/apache/dubbo-go-samples/issues/71


   I have a doubt, why the function is called twice in the `go-server` pkg, is 
it necessary ?
   for example:
   `helloworld/go-server/cmd/server.go`
   
   ``` 
   func main() {
   >    hessian.RegisterPOJO(&pkg.User{})
        config.Load()
   
        initSignal()
   }
   
   ```
   
   but in the `helloworld/pkg/user.go`
   
   ```
   func init() {
        config.SetProviderService(new(UserProvider))
        // ------for hessian2------
   >    hessian.RegisterPOJO(&User{})
   }
   ```
   


-- 
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.

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