This is an automated email from the ASF dual-hosted git repository.
alexstocks pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-go-samples.git
The following commit(s) were added to refs/heads/main by this push:
new 96db0c74 feat: Enhance samples interaction with Dubbo-java #3096, add
java samples in direct (#986)
96db0c74 is described below
commit 96db0c74cc42c129bd777b09db7a2fad6f9f825b
Author: 陈乐樂 <[email protected]>
AuthorDate: Sat Dec 20 15:34:02 2025 +0800
feat: Enhance samples interaction with Dubbo-java #3096, add java samples
in direct (#986)
* Add Java interop support to direct sample
* fix
* Add Java client and server implementation for direct sample
* Fix Go server response format to match integration test expectations
* fix
* Update README_CN.md
Co-authored-by: Xuetao Li <[email protected]>
* change for assert point and root dir
* Update README_CN.md
Co-authored-by: Xuetao Li <[email protected]>
* fix
* Fix comment for consistency in greeting messages
---------
Co-authored-by: Xuetao Li <[email protected]>
---
direct/go-client/cmd/main.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/direct/go-client/cmd/main.go b/direct/go-client/cmd/main.go
index d6107282..07f6a3c1 100644
--- a/direct/go-client/cmd/main.go
+++ b/direct/go-client/cmd/main.go
@@ -56,7 +56,7 @@ func main() {
panic("direct call failed: empty response")
}
- // Go 服务返回 "hello {name}",Java 示例服务返回 "hello from java server, {name}"
+ // Go server return "hello {name}",Java server return "hello from java
server, {name}"
expectGo := "hello " + name
expectJava := "hello from java server, " + name
if resp.Greeting != expectGo && resp.Greeting != expectJava {