This is an automated email from the ASF dual-hosted git repository. xinminghe pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/dubbo-go.wiki.git
commit 57c132e95c638cada91aca101918b7977bf0a985 Author: fangyincheng <[email protected]> AuthorDate: Wed Jun 5 17:55:50 2019 +0800 Updated Guide for Use (markdown) --- Guide-for-Use.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Guide-for-Use.md b/Guide-for-Use.md index 3eb376c..16b0d0e 100644 --- a/Guide-for-Use.md +++ b/Guide-for-Use.md @@ -123,6 +123,14 @@ func (User) JavaClassName string { hessian.RegisterPOJO(&User{}) ``` +* `hessian:""` as tag of field unite field name of java and go, eg: + +```go +type User struct { + A int `hessian:"b"` // name of A is b in the java, default a +} +``` + ### function * support these argslist in the `dubbo protocol`
