dubbo-go icon indicating copy to clipboard operation
dubbo-go copied to clipboard

Is must that the first alpha of the method name in java interface is upper case to compatible with golang?

Open fionawp opened this issue 6 years ago • 4 comments

What would you like to be added:

If apache/dubbo-go project can compatible with golang by comparing to the method name in client.yml. If the first alpha of the method name in the config is not Upper case, transfer it to lower case when searching the java method name.

Why is this needed:

I am trying to call java dubbo services by using apache/dubbo-go. Due to historical reasons, it is not possible to change java codes because they are called by other many projects.

fionawp avatar Nov 20 '19 09:11 fionawp

We have supported this feature, you can reference to https://github.com/apache/dubbo-go-samples/blob/master/general/dubbo/go-client/app/user.go#L125. image dubbo:"getUser" means calling GetUser is equivalent to calling getUser in java. Welcome to give dubbo-go more suggestions!

fangyincheng avatar Nov 20 '19 15:11 fangyincheng

@fionawp Hi, has your problem been solved?

fangyincheng avatar Dec 21 '19 03:12 fangyincheng

@fangyincheng we can keep this issue open for other beginners.

AlexStocks avatar Dec 21 '19 05:12 AlexStocks

@fangyincheng we can keep this issue open for other beginners.

If no another problems, i think should close this issue.

zouyx avatar Dec 17 '20 02:12 zouyx