This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch asf-site-v2
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/asf-site-v2 by this push:
     new addeba2effb deploy: 602e768176163ac20931869227073ca85ca407d8
addeba2effb is described below

commit addeba2effb28a6372bfb8588b7a546ccd66ed3e
Author: Alanxtl <[email protected]>
AuthorDate: Thu Jan 22 06:05:51 2026 +0000

    deploy: 602e768176163ac20931869227073ca85ca407d8
---
 .../mannual/golang-sdk/refer/generic/index.html    | 29 +++++++++++++++++++---
 en/sitemap.xml                                     |  2 +-
 sitemap.xml                                        |  2 +-
 .../mannual/golang-sdk/refer/generic/index.html    | 29 +++++++++++++++++++---
 zh-cn/sitemap.xml                                  |  2 +-
 5 files changed, 55 insertions(+), 9 deletions(-)

diff --git a/en/overview/mannual/golang-sdk/refer/generic/index.html 
b/en/overview/mannual/golang-sdk/refer/generic/index.html
index a6d0942863a..ea1655959b6 100644
--- a/en/overview/mannual/golang-sdk/refer/generic/index.html
+++ b/en/overview/mannual/golang-sdk/refer/generic/index.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=en class=no-js><head><meta name=ROBOTS 
content="INDEX, FOLLOW"><link rel=alternate hreflang=zh-cn 
href=https://dubbo.apache.org/zh-cn/overview/mannual/golang-sdk/refer/generic/><link
 rel=canonical 
href=https://dubbo.apache.org/en/overview/mannual/golang-sdk/refer/generic/><script>var
 
_paq=window._paq=window._paq||[];_paq.push(["setDocumentTitle",document.domain+"/"+document.title]),_paq.push(["setCookieDomain","*.dubbo.apache.org"]),_paq.push(["trackPageView"]),
 [...]
+<!doctype html><html lang=en class=no-js><head><meta name=ROBOTS 
content="INDEX, FOLLOW"><link rel=alternate hreflang=zh-cn 
href=https://dubbo.apache.org/zh-cn/overview/mannual/golang-sdk/refer/generic/><link
 rel=canonical 
href=https://dubbo.apache.org/en/overview/mannual/golang-sdk/refer/generic/><script>var
 
_paq=window._paq=window._paq||[];_paq.push(["setDocumentTitle",document.domain+"/"+document.title]),_paq.push(["setCookieDomain","*.dubbo.apache.org"]),_paq.push(["trackPageView"]),
 [...]
 <a class=dropdown-item href=/en/overview/notices/>Security Notices</a>
 <a class=dropdown-item href=/en/contact/>Contributor's Guide</a></div></li><li 
class="nav-item nav-item-line px-2 mb-2 mb-lg-0"><a class=nav-link 
href=/en/blog/><span>Blog</span></a></li><li class="nav-item nav-item-line px-2 
mb-2 mb-lg-0"><a class=nav-link 
href=/en/download/><span>DOWNLOAD</span></a></li><li class="nav-item dropdown 
d-lg-block"><a class="nav-link dropdown-toggle" href=# id=navbarDropdown 
role=button data-toggle=dropdown aria-haspopup=true 
aria-expanded=false>ECOSYSTEM</ [...]
 <a class=dropdown-item 
href=/zh-cn/overview/mannual/control-plane/>Visualizable Console</a>
@@ -748,8 +748,31 @@
 </span></span><span style=display:flex><span>          []<span 
style=color:#dc322f>string</span>{<span 
style=color:#2aa198>&#34;java.lang.String&#34;</span>},
 </span></span><span style=display:flex><span>          []hessian.Object{<span 
style=color:#2aa198>&#34;A003&#34;</span>},
 </span></span><span style=display:flex><span>    )
-</span></span></code></pre></div><p>The Invoke method of GenericService takes 
four parameters:</p><ul><li>context;</li><li>method name: in this example, it 
refers to calling the GetUser method;</li><li>parameter types: GetUser method 
accepts a string type parameter. If the target method accepts multiple 
parameters, you can write it as <code>[]string{"type1", "type2", ...}</code>. 
If the method is parameterless, you need to fill in an empty array 
<code>[]string{}</code>;</li><li>actual pa [...]
-<button class="btn btn-primary mb-4 
feedback--no">No</button></div><script>const 
yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const
 
sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disable
 [...]
+</span></span></code></pre></div><p>The Invoke method of GenericService takes 
four parameters:</p><ul><li>context;</li><li>method name: in this example, it 
refers to calling the GetUser method;</li><li>parameter types: GetUser method 
accepts a string type parameter. If the target method accepts multiple 
parameters, you can write it as <code>[]string{"type1", "type2", ...}</code>. 
If the method is parameterless, you need to fill in an empty array 
<code>[]string{}</code>;</li><li>actual pa [...]
+</span></span><span style=display:flex><span><span 
style=color:#268bd2>type</span> User <span style=color:#268bd2>struct</span> {
+</span></span><span style=display:flex><span>    ID   <span 
style=color:#dc322f>string</span>
+</span></span><span style=display:flex><span>    Name <span 
style=color:#dc322f>string</span>
+</span></span><span style=display:flex><span>    Age  <span 
style=color:#dc322f>int32</span>
+</span></span><span style=display:flex><span>}
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span 
style=color:#268bd2>var</span> user User
+</span></span><span style=display:flex><span><span style=color:#586e75>// 
Deserialize the result directly into the user struct</span>
+</span></span><span style=display:flex><span>err <span 
style=color:#719e07>:=</span> refConf.
+</span></span><span style=display:flex><span>    <span 
style=color:#268bd2>GetRPCService</span>().(<span 
style=color:#719e07>*</span>generic.GenericService).
+</span></span><span style=display:flex><span>    <span 
style=color:#268bd2>InvokeWithType</span>(
+</span></span><span style=display:flex><span>        context.<span 
style=color:#268bd2>TODO</span>(),
+</span></span><span style=display:flex><span>        <span 
style=color:#2aa198>&#34;GetUser&#34;</span>,
+</span></span><span style=display:flex><span>        []<span 
style=color:#dc322f>string</span>{<span 
style=color:#2aa198>&#34;java.lang.String&#34;</span>},
+</span></span><span style=display:flex><span>        []hessian.Object{<span 
style=color:#2aa198>&#34;A003&#34;</span>},
+</span></span><span style=display:flex><span>        <span 
style=color:#719e07>&amp;</span>user,
+</span></span><span style=display:flex><span>    )
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span 
style=color:#719e07>if</span> err <span style=color:#719e07>!=</span> <span 
style=color:#cb4b16>nil</span> {
+</span></span><span style=display:flex><span>    <span style=color:#586e75>// 
Handle error</span>
+</span></span><span style=display:flex><span>}
+</span></span><span style=display:flex><span>fmt.<span 
style=color:#268bd2>Println</span>(user.Name)
+</span></span></code></pre></div><p>Note: <code>InvokeWithType</code> 
currently only supports the default Map generic invocation.</p><p>Related 
reading: <a 
href=https://blog.csdn.net/weixin_39860915/article/details/122738548>【Dubbo-go 
Service Proxy Model】</a></p><div id=pre-footer><h2>Feedback</h2><p 
class=feedback--prompt>Was this page helpful?</p><button class="btn btn-primary 
mb-4 feedback--yes">Yes</button>
+<button class="btn btn-primary mb-4 
feedback--no">No</button></div><script>const 
yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const
 
sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disable
 [...]
 <button class="contact-btn qr-container" 
onmouseover='showQRCode("dingding-qr")' 
onmouseout='hideQRCode("dingding-qr")'>DINGTALK CHANNEL<div class=qr-code 
id=dingding-qr style=display:none><img 
src=https://img.alicdn.com/imgextra/i4/O1CN01buuadT274Lj33QZWQ_!!6000000007743-0-tps-1170-1477.jpg
 alt="DingTalk QR Code"></div></button>
 <button class=contact-btn><a 
href=https://github.com/apache/dubbo/>GITHUB</a></button></div></div><div 
class=footer-container-right><ul><li>DOCUMENTATION</li><li><a 
href=/en/overview/>Overview</a></li><li><a href=/en/overview/quickstart/>Quick 
Start</a></li><li><a 
href=/en/contact/contributor/software-donation-guide_dev/>Developer 
guide</a></li></ul><ul><li>RESOURCES</li><li><a 
href=/en/contact/>Community</a></li></ul></div></div><div 
style="width:85.125rem;height:0;border:1px solid #ddd [...]
 project logo are either registered trademarks or trademarks of The Apache 
Software Foundation in the United States
diff --git a/en/sitemap.xml b/en/sitemap.xml
index e5bbfb5cf50..e0ebf45ae8a 100644
--- a/en/sitemap.xml
+++ b/en/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset 
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"; 
xmlns:xhtml="http://www.w3.org/1999/xhtml";><url><loc>https://dubbo.apache.org/en/blog/2023/01/16/alibaba-upgrades-dubbo3-to-fully-replace-hsf2/</loc><lastmod>2024-09-30T17:53:33+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority><xhtml:link
 rel="alternate" hreflang="zh-cn" 
href="https://dubbo.apache.org/zh-cn/blog/2023/01/16/%E9%98%BF%E9%87%8C%E5%B7%B4%E5
 [...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset 
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"; 
xmlns:xhtml="http://www.w3.org/1999/xhtml";><url><loc>https://dubbo.apache.org/en/blog/2023/01/16/alibaba-upgrades-dubbo3-to-fully-replace-hsf2/</loc><lastmod>2024-09-30T17:53:33+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority><xhtml:link
 rel="alternate" hreflang="zh-cn" 
href="https://dubbo.apache.org/zh-cn/blog/2023/01/16/%E9%98%BF%E9%87%8C%E5%B7%B4%E5
 [...]
\ No newline at end of file
diff --git a/sitemap.xml b/sitemap.xml
index 7df95cb03b1..61e10782494 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex 
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9";><sitemap><loc>https://dubbo.apache.org/zh-cn/sitemap.xml</loc><lastmod>2026-01-15T18:35:20+08:00</lastmod></sitemap><sitemap><loc>https://dubbo.apache.org/en/sitemap.xml</loc><lastmod>2026-01-08T20:36:51+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex 
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9";><sitemap><loc>https://dubbo.apache.org/zh-cn/sitemap.xml</loc><lastmod>2026-01-22T13:59:30+08:00</lastmod></sitemap><sitemap><loc>https://dubbo.apache.org/en/sitemap.xml</loc><lastmod>2026-01-22T13:59:30+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
diff --git a/zh-cn/overview/mannual/golang-sdk/refer/generic/index.html 
b/zh-cn/overview/mannual/golang-sdk/refer/generic/index.html
index 53b918af630..bbbefe445ce 100644
--- a/zh-cn/overview/mannual/golang-sdk/refer/generic/index.html
+++ b/zh-cn/overview/mannual/golang-sdk/refer/generic/index.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=zh-cn class=no-js><head><meta name=ROBOTS 
content="INDEX, FOLLOW"><link rel=alternate hreflang=en 
href=https://dubbo.apache.org/en/overview/mannual/golang-sdk/refer/generic/><link
 rel=canonical 
href=https://dubbo.apache.org/zh-cn/overview/mannual/golang-sdk/refer/generic/><script>var
 
_paq=window._paq=window._paq||[];_paq.push(["setDocumentTitle",document.domain+"/"+document.title]),_paq.push(["setCookieDomain","*.dubbo.apache.org"]),_paq.push(["trackPageView"]),
 [...]
+<!doctype html><html lang=zh-cn class=no-js><head><meta name=ROBOTS 
content="INDEX, FOLLOW"><link rel=alternate hreflang=en 
href=https://dubbo.apache.org/en/overview/mannual/golang-sdk/refer/generic/><link
 rel=canonical 
href=https://dubbo.apache.org/zh-cn/overview/mannual/golang-sdk/refer/generic/><script>var
 
_paq=window._paq=window._paq||[];_paq.push(["setDocumentTitle",document.domain+"/"+document.title]),_paq.push(["setCookieDomain","*.dubbo.apache.org"]),_paq.push(["trackPageView"]),
 [...]
 <a class=dropdown-item href=/zh-cn/overview/notices/>安全公告</a>
 <a class=dropdown-item href=/zh-cn/contact/>贡献者指南</a></div></li><li 
class="nav-item nav-item-line px-2 mb-2 mb-lg-0"><a class=nav-link 
href=/zh-cn/blog/><span>博客</span></a></li><li class="nav-item nav-item-line 
px-2 mb-2 mb-lg-0"><a class=nav-link 
href=/zh-cn/download/><span>下载</span></a></li><li class="nav-item dropdown 
d-lg-block"><a class="nav-link dropdown-toggle" href=# id=navbarDropdown 
role=button data-toggle=dropdown aria-haspopup=true 
aria-expanded=false>生态</a><div class="dropdo [...]
 <a class=dropdown-item href=/zh-cn/overview/mannual/control-plane/>可视化控制台</a>
@@ -743,8 +743,31 @@
 </span></span><span style=display:flex><span>          []<span 
style=color:#dc322f>string</span>{<span 
style=color:#2aa198>&#34;java.lang.String&#34;</span>},
 </span></span><span style=display:flex><span>          []hessian.Object{<span 
style=color:#2aa198>&#34;A003&#34;</span>},
 </span></span><span style=display:flex><span>    )
-</span></span></code></pre></div><p>GenericService 的 Invoke 
方法接收四个参数,分别是:</p><ul><li>context;</li><li>方法名: 在这个例子中表示调用 GetUser 
方法;</li><li>参数类型: GetUser 方法接收一个 string 类型的参数,如果目标方法接收多个参数,可以写为 
<code>[]string{"type1", "type2", ...}</code>,如果目前方法是无参的,则需要填入一个空数组 
<code>[]string{}</code>;</li><li>实参: 写法同参数类型,如果是无参函数,依然要填入一个空数组 
<code>[]hessian.Object{}</code> 
占位。</li></ul><p>注意:在目前版本中,无参调用会出现崩溃问题。</p><p>相关阅读:<a 
href=https://blog.csdn.net/weixin_39860915/article/details/122738548>【Dubbo-go 
服务代理模型】 [...]
-<button class="btn btn-primary mb-4 
feedback--no">否</button></div><script>const 
yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const
 
sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disabled
 [...]
+</span></span></code></pre></div><p>GenericService 的 Invoke 
方法接收四个参数,分别是:</p><ul><li>context;</li><li>方法名: 在这个例子中表示调用 GetUser 
方法;</li><li>参数类型: GetUser 方法接收一个 string 类型的参数,如果目标方法接收多个参数,可以写为 
<code>[]string{"type1", "type2", ...}</code>,如果目前方法是无参的,则需要填入一个空数组 
<code>[]string{}</code>;</li><li>实参: 写法同参数类型,如果是无参函数,依然要填入一个空数组 
<code>[]hessian.Object{}</code> 占位。</li></ul><p>注意:在目前版本中,无参调用会出现崩溃问题。</p><h3 
id=泛化调用获取结果自动反序列化>泛化调用获取结果自动反序列化</h3><p>在 <code>Invoke</code> 方法中,返回值 
<code>resp</code> 是一个 < [...]
+</span></span><span style=display:flex><span><span 
style=color:#268bd2>type</span> User <span style=color:#268bd2>struct</span> {
+</span></span><span style=display:flex><span>    ID   <span 
style=color:#dc322f>string</span>
+</span></span><span style=display:flex><span>    Name <span 
style=color:#dc322f>string</span>
+</span></span><span style=display:flex><span>    Age  <span 
style=color:#dc322f>int32</span>
+</span></span><span style=display:flex><span>}
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span 
style=color:#268bd2>var</span> user User
+</span></span><span style=display:flex><span><span style=color:#586e75>// 
直接将结果反序列化到 user 结构体中</span>
+</span></span><span style=display:flex><span>err <span 
style=color:#719e07>:=</span> refConf.
+</span></span><span style=display:flex><span>    <span 
style=color:#268bd2>GetRPCService</span>().(<span 
style=color:#719e07>*</span>generic.GenericService).
+</span></span><span style=display:flex><span>    <span 
style=color:#268bd2>InvokeWithType</span>(
+</span></span><span style=display:flex><span>        context.<span 
style=color:#268bd2>TODO</span>(),
+</span></span><span style=display:flex><span>        <span 
style=color:#2aa198>&#34;GetUser&#34;</span>,
+</span></span><span style=display:flex><span>        []<span 
style=color:#dc322f>string</span>{<span 
style=color:#2aa198>&#34;java.lang.String&#34;</span>},
+</span></span><span style=display:flex><span>        []hessian.Object{<span 
style=color:#2aa198>&#34;A003&#34;</span>},
+</span></span><span style=display:flex><span>        <span 
style=color:#719e07>&amp;</span>user,
+</span></span><span style=display:flex><span>    )
+</span></span><span style=display:flex><span>
+</span></span><span style=display:flex><span><span 
style=color:#719e07>if</span> err <span style=color:#719e07>!=</span> <span 
style=color:#cb4b16>nil</span> {
+</span></span><span style=display:flex><span>    <span style=color:#586e75>// 
处理错误</span>
+</span></span><span style=display:flex><span>}
+</span></span><span style=display:flex><span>fmt.<span 
style=color:#268bd2>Println</span>(user.Name)
+</span></span></code></pre></div><p>注意:<code>InvokeWithType</code> 目前仅支持默认的 
Map 泛化方式。</p><p>相关阅读:<a 
href=https://blog.csdn.net/weixin_39860915/article/details/122738548>【Dubbo-go 
服务代理模型】</a></p><div id=pre-footer><h2>反馈</h2><p 
class=feedback--prompt>此页是否对您有帮助?</p><button class="btn btn-primary mb-4 
feedback--yes">是</button>
+<button class="btn btn-primary mb-4 
feedback--no">否</button></div><script>const 
yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const
 
sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disabled
 [...]
 <button class="contact-btn qr-container" 
onmouseover='showQRCode("dingding-qr")' 
onmouseout='hideQRCode("dingding-qr")'>钉钉<div class=qr-code id=dingding-qr 
style=display:none><img 
src=https://img.alicdn.com/imgextra/i4/O1CN01buuadT274Lj33QZWQ_!!6000000007743-0-tps-1170-1477.jpg
 alt="DingTalk QR Code"></div></button>
 <button class=contact-btn><a 
href=https://github.com/apache/dubbo/>GITHUB</a></button></div></div><div 
class=footer-container-right><ul><li>文档</li><li><a 
href=/zh-cn/overview/home/>概览</a></li><li><a 
href=/zh-cn/overview/quickstart/>快速开始</a></li><li><a 
href=/zh-cn/contact/contributor/software-donation-guide_dev/>开发者指南</a></li></ul><ul><li>资源</li><li><a
 href=/zh-cn/contact/>社区</a></li></ul></div></div><div 
style="width:85.125rem;height:0;border:1px solid 
#dddee4;margin-bottom:32px"></div>< [...]
 project logo are either registered trademarks or trademarks of The Apache 
Software Foundation in the United States
diff --git a/zh-cn/sitemap.xml b/zh-cn/sitemap.xml
index 879c567e774..86c8314ea41 100644
--- a/zh-cn/sitemap.xml
+++ b/zh-cn/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset 
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"; 
xmlns:xhtml="http://www.w3.org/1999/xhtml";><url><loc>https://dubbo.apache.org/zh-cn/blog/2023/01/16/%E9%98%BF%E9%87%8C%E5%B7%B4%E5%B7%B4%E5%8D%87%E7%BA%A7-dubbo3-%E5%85%A8%E9%9D%A2%E5%8F%96%E4%BB%A3-hsf2/</loc><lastmod>2023-11-28T15:14:12+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority><xhtml:link
 rel="alternate" hreflang="en" href="https://dubbo.apach [...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset 
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"; 
xmlns:xhtml="http://www.w3.org/1999/xhtml";><url><loc>https://dubbo.apache.org/zh-cn/blog/2023/01/16/%E9%98%BF%E9%87%8C%E5%B7%B4%E5%B7%B4%E5%8D%87%E7%BA%A7-dubbo3-%E5%85%A8%E9%9D%A2%E5%8F%96%E4%BB%A3-hsf2/</loc><lastmod>2023-11-28T15:14:12+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority><xhtml:link
 rel="alternate" hreflang="en" href="https://dubbo.apach [...]
\ No newline at end of file

Reply via email to