{"id":205605,"date":"2025-06-12T08:33:42","date_gmt":"2025-06-12T00:33:42","guid":{"rendered":"https:\/\/server.hk\/cnblog\/205605\/"},"modified":"2025-06-12T08:33:42","modified_gmt":"2025-06-12T00:33:42","slug":"goroutine-%e6%b1%a0%ef%bc%9a%e5%9c%a8-golang-%e5%b9%b6%e5%8f%91%e7%bc%96%e7%a8%8b%e4%b8%ad%e7%9a%84%e9%87%8d%e8%a6%81%e6%80%a7","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/205605\/","title":{"rendered":"Goroutine \u6c60\uff1a\u5728 Golang \u5e76\u53d1\u7f16\u7a0b\u4e2d\u7684\u91cd\u8981\u6027"},"content":{"rendered":"<p>\u54c8\u55bd\uff01\u5927\u5bb6\u597d\uff0c\u5f88\u9ad8\u5174\u53c8\u89c1\u9762\u4e86\uff0c\u6211\u662fGOLANG\u7684\u4e00\u540d\u4f5c\u8005\uff0c\u4eca\u5929\u7531\u6211\u7ed9\u5927\u5bb6\u5e26\u6765\u4e00\u7bc7<br \/>\n<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">\u300aGoroutine \u6c60\uff1a\u5728 GOLANG \u5e76\u53d1\u7f16\u7a0b\u4e2d\u7684\u91cd\u8981\u6027\u300b<\/span>\uff0c\u672c\u6587\u4e3b\u8981\u4f1a\u8bb2\u5230<br \/>\n<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\"><\/span>\u7b49\u7b49\u77e5\u8bc6\u70b9\uff0c\u5e0c\u671b\u5927\u5bb6\u4e00\u8d77\u5b66\u4e60\u8fdb\u6b65\uff0c\u4e5f\u6b22\u8fce\u5927\u5bb6\u5173\u6ce8\u3001\u70b9\u8d5e\u3001\u6536\u85cf\u3001\u8f6c\u53d1! \u4e0b\u9762\u5c31\u4e00\u8d77\u6765\u770b\u770b\u5427\uff01,Goroutine \u6c60\u662f\u4f18\u5316 GOLANG \u5e76\u53d1\u5e94\u7528\u7a0b\u5e8f\u6027\u80fd\u7684\u5173\u952e\uff0c\u5b83\u51cf\u5c11\u4e0a\u4e0b\u6587\u5207\u6362\u5f00\u9500\uff0c\u907f\u514d\u8d44\u6e90\u8017\u5c3d\uff0c\u5e76\u63d0\u9ad8\u6027\u80fd\u3002\u5728 GOLANG \u4e2d\u521b\u5efa Goroutine \u6c60\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a\u521b\u5efa\u4e00\u4e2a\u9884\u5148\u521b\u5efa\u7684 Goroutine \u6570\u7ec4\uff0c\u53ef\u7528\u4e8e\u6267\u884c\u5e76\u53d1\u4efb\u52a1\u3002\u5f53\u9700\u8981\u8fdb\u884c\u5e76\u53d1\u64cd\u4f5c\u65f6\uff0c\u4ece\u6c60\u4e2d\u83b7\u53d6\u4e00\u4e2a Goroutine\uff0c\u800c\u4e0d\u662f\u521b\u5efa\u65b0\u7684 Goroutine\u3002\u4efb\u52a1\u5b8c\u6210\u540e\uff0c\u5c06 Goroutine \u91ca\u653e\u56de\u6c60\u4e2d\uff0c\u53ef\u7528\u4e8e\u6267\u884c\u5176\u4ed6\u4efb\u52a1\u3002,<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20241026\/1729929773671ca22dd6d76.jpg\" class=\"aligncenter\">,<br \/>\n<strong>Goroutine \u6c60\uff1a\u5728 GOLANG \u5e76\u53d1\u7f16\u7a0b\u4e2d\u7684\u91cd\u8981\u6027<\/strong>,Goroutine \u6c60\u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u591a\u4efb\u52a1\u5904\u7406\u673a\u5236\uff0c\u5bf9\u4e8e\u4f18\u5316 GOLANG \u5e76\u53d1\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u81f3\u5173\u91cd\u8981\u3002,<br \/>\n<strong>\u4ec0\u4e48\u662f Goroutine \u6c60\uff1f<\/strong>,Goroutine \u6c60\u672c\u8d28\u4e0a\u662f\u4e00\u4e2a\u9884\u5148\u521b\u5efa\u7684 Goroutine \u6570\u7ec4\uff0c\u53ef\u7528\u4e8e\u6267\u884c\u5e76\u53d1\u4efb\u52a1\u3002\u5f53\u9700\u8981\u8fdb\u884c\u5e76\u53d1\u64cd\u4f5c\u65f6\uff0c\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u4ece\u6c60\u4e2d\u83b7\u53d6\u4e00\u4e2a Goroutine\uff0c\u800c\u4e0d\u662f\u521b\u5efa\u65b0\u7684 Goroutine\u3002\u5f53\u4efb\u52a1\u5b8c\u6210\u540e\uff0cGoroutine \u5c06\u88ab\u91ca\u653e\u56de\u6c60\u4e2d\uff0c\u53ef\u7528\u4e8e\u6267\u884c\u5176\u4ed6\u4efb\u52a1\u3002,<br \/>\n<strong>\u4e3a\u4f55\u4f7f\u7528 Goroutine \u6c60\uff1f<\/strong>,\u4f7f\u7528 Goroutine \u6c60\u5177\u6709\u4ee5\u4e0b\u4f18\u52bf\uff1a,<br \/>\n<strong>\u521b\u5efa Goroutine \u6c60<\/strong>,\u5728 GOLANG \u4e2d\u521b\u5efa Goroutine \u6c60\u975e\u5e38\u7b80\u5355\uff1a,<br \/>\n<strong>\u5b9e\u6218\u6848\u4f8b<\/strong>,\u5728\u4ee5\u4e0b\u573a\u666f\u4e2d\uff0cGoroutine \u6c60\u88ab\u7528\u6765\u63d0\u9ad8 Web \u670d\u52a1\u5668\u7684\u6027\u80fd\uff1a,\u4eca\u5929\u5173\u4e8e\u300aGoroutine \u6c60\uff1a\u5728 GOLANG \u5e76\u53d1\u7f16\u7a0b\u4e2d\u7684\u91cd\u8981\u6027\u300b\u7684\u5185\u5bb9\u4ecb\u7ecd\u5c31\u5230\u6b64\u7ed3\u675f\uff0c\u5982\u679c\u6709\u4ec0\u4e48\u7591\u95ee\u6216\u8005\u5efa\u8bae\uff0c\u53ef\u4ee5\u5728GOLANG\u516c\u4f17\u53f7\u4e0b\u591a\u591a\u56de\u590d\u4ea4\u6d41\uff1b\u6587\u4e2d\u82e5\u6709\u4e0d\u6b63\u4e4b\u5904\uff0c\u4e5f\u5e0c\u671b\u56de\u590d\u7559\u8a00\u4ee5\u544a\u77e5\uff01,<br \/>\n<strong>\u907f\u514d\u8d44\u6e90\u8017\u5c3d\uff1a<\/strong>Goroutine \u6c60\u53ef\u4ee5\u63a7\u5236\u5e76\u53d1 Goroutine \u7684\u6570\u91cf\uff0c\u9632\u6b62\u8d44\u6e90\u8017\u5c3d\u3002,<br \/>\n<strong>\u51cf\u5c11\u4e0a\u4e0b\u6587\u5207\u6362\u5f00\u9500\uff1a<\/strong>\u521b\u5efa\u65b0\u7684 Goroutine \u4f1a\u9020\u6210\u4e0a\u4e0b\u6587\u5207\u6362\u5f00\u9500\uff0c\u800c\u91cd\u7528\u5df2\u5b58\u5728\u7684 Goroutine \u53ef\u4ee5\u907f\u514d\u8fd9\u79cd\u5f00\u9500\u3002,<br \/>\n<strong>\u63d0\u9ad8\u6027\u80fd\uff1a<\/strong>\u901a\u8fc7\u91cd\u7528 Goroutine\uff0c\u53ef\u4ee5\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u6574\u4f53\u6027\u80fd\u3002,\u54c8\u55bd\uff01\u5927\u5bb6\u597d\uff0c\u5f88\u9ad8\u5174\u53c8\u89c1\u9762\u4e86\uff0c\u6211\u662fGOLANG\u7684\u4e00\u540d\u4f5c\u8005\uff0c\u4eca\u5929\u7531\u6211\u7ed9\u5927\u5bb6\u5e26\u6765\u4e00\u7bc7<br \/>\n<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">\u300aGoroutine \u6c60\uff1a\u5728 GOLANG \u5e76\u53d1\u7f16\u7a0b\u4e2d\u7684\u91cd\u8981\u6027\u300b<\/span>\uff0c\u672c\u6587\u4e3b\u8981\u4f1a\u8bb2\u5230<br \/>\n<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\"><\/span>\u7b49\u7b49\u77e5\u8bc6\u70b9\uff0c\u5e0c\u671b\u5927\u5bb6\u4e00\u8d77\u5b66\u4e60\u8fdb\u6b65\uff0c\u4e5f\u6b22\u8fce\u5927\u5bb6\u5173\u6ce8\u3001\u70b9\u8d5e\u3001\u6536\u85cf\u3001\u8f6c\u53d1! \u4e0b\u9762\u5c31\u4e00\u8d77\u6765\u770b\u770b\u5427\uff01,<br \/>\n<b><\/b> <\/p>\n<p>\u5f53\u524d\u4f4d\u7f6e\uff1a <span>&gt;<\/span>  <span>&gt;<\/span>  <span>&gt;<\/span>  <span>&gt;<\/span> <span>Goroutine \u6c60\uff1a\u5728 GOLANG \u5e76\u53d1\u7f16\u7a0b\u4e2d\u7684\u91cd\u8981\u6027<\/span><\/p>\n<h1>Goroutine \u6c60\uff1a\u5728 GOLANG \u5e76\u53d1\u7f16\u7a0b\u4e2d\u7684\u91cd\u8981\u6027<\/h1>\n<p><span>2024-10-26 16:03:08<\/span><br \/>\n<span><i><\/i>0\u6d4f\u89c8<\/span><br \/>\n<span style=\"cursor: pointer\"><i><\/i>\u6536\u85cf<\/span> <\/p>\n<p>\u54c8\u55bd\uff01\u5927\u5bb6\u597d\uff0c\u5f88\u9ad8\u5174\u53c8\u89c1\u9762\u4e86\uff0c\u6211\u662fGOLANG\u7684\u4e00\u540d\u4f5c\u8005\uff0c\u4eca\u5929\u7531\u6211\u7ed9\u5927\u5bb6\u5e26\u6765\u4e00\u7bc7<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">\u300aGoroutine \u6c60\uff1a\u5728 GOLANG \u5e76\u53d1\u7f16\u7a0b\u4e2d\u7684\u91cd\u8981\u6027\u300b<\/span>\uff0c\u672c\u6587\u4e3b\u8981\u4f1a\u8bb2\u5230<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\"><\/span>\u7b49\u7b49\u77e5\u8bc6\u70b9\uff0c\u5e0c\u671b\u5927\u5bb6\u4e00\u8d77\u5b66\u4e60\u8fdb\u6b65\uff0c\u4e5f\u6b22\u8fce\u5927\u5bb6\u5173\u6ce8\u3001\u70b9\u8d5e\u3001\u6536\u85cf\u3001\u8f6c\u53d1! \u4e0b\u9762\u5c31\u4e00\u8d77\u6765\u770b\u770b\u5427\uff01<\/p>\n<p>Goroutine \u6c60\u662f\u4f18\u5316 GOLANG \u5e76\u53d1\u5e94\u7528\u7a0b\u5e8f\u6027\u80fd\u7684\u5173\u952e\uff0c\u5b83\u51cf\u5c11\u4e0a\u4e0b\u6587\u5207\u6362\u5f00\u9500\uff0c\u907f\u514d\u8d44\u6e90\u8017\u5c3d\uff0c\u5e76\u63d0\u9ad8\u6027\u80fd\u3002\u5728 GOLANG \u4e2d\u521b\u5efa Goroutine \u6c60\u7684\u6b65\u9aa4\u5982\u4e0b\uff1a\u521b\u5efa\u4e00\u4e2a\u9884\u5148\u521b\u5efa\u7684 Goroutine \u6570\u7ec4\uff0c\u53ef\u7528\u4e8e\u6267\u884c\u5e76\u53d1\u4efb\u52a1\u3002\u5f53\u9700\u8981\u8fdb\u884c\u5e76\u53d1\u64cd\u4f5c\u65f6\uff0c\u4ece\u6c60\u4e2d\u83b7\u53d6\u4e00\u4e2a Goroutine\uff0c\u800c\u4e0d\u662f\u521b\u5efa\u65b0\u7684 Goroutine\u3002\u4efb\u52a1\u5b8c\u6210\u540e\uff0c\u5c06 Goroutine \u91ca\u653e\u56de\u6c60\u4e2d\uff0c\u53ef\u7528\u4e8e\u6267\u884c\u5176\u4ed6\u4efb\u52a1\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20241026\/1729929773671ca22dd6d76.jpg\" class=\"aligncenter\"><\/p>\n<p><strong>Goroutine \u6c60\uff1a\u5728 GOLANG \u5e76\u53d1\u7f16\u7a0b\u4e2d\u7684\u91cd\u8981\u6027<\/strong><\/p>\n<p>Goroutine \u6c60\u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u591a\u4efb\u52a1\u5904\u7406\u673a\u5236\uff0c\u5bf9\u4e8e\u4f18\u5316 GOLANG \u5e76\u53d1\u5e94\u7528\u7a0b\u5e8f\u7684\u6027\u80fd\u81f3\u5173\u91cd\u8981\u3002<\/p>\n<p><strong>\u4ec0\u4e48\u662f Goroutine \u6c60\uff1f<\/strong><\/p>\n<p>Goroutine \u6c60\u672c\u8d28\u4e0a\u662f\u4e00\u4e2a\u9884\u5148\u521b\u5efa\u7684 Goroutine \u6570\u7ec4\uff0c\u53ef\u7528\u4e8e\u6267\u884c\u5e76\u53d1\u4efb\u52a1\u3002\u5f53\u9700\u8981\u8fdb\u884c\u5e76\u53d1\u64cd\u4f5c\u65f6\uff0c\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u4ece\u6c60\u4e2d\u83b7\u53d6\u4e00\u4e2a Goroutine\uff0c\u800c\u4e0d\u662f\u521b\u5efa\u65b0\u7684 Goroutine\u3002\u5f53\u4efb\u52a1\u5b8c\u6210\u540e\uff0cGoroutine \u5c06\u88ab\u91ca\u653e\u56de\u6c60\u4e2d\uff0c\u53ef\u7528\u4e8e\u6267\u884c\u5176\u4ed6\u4efb\u52a1\u3002<\/p>\n<p><strong>\u4e3a\u4f55\u4f7f\u7528 Goroutine \u6c60\uff1f<\/strong><\/p>\n<p>\u4f7f\u7528 Goroutine \u6c60\u5177\u6709\u4ee5\u4e0b\u4f18\u52bf\uff1a<\/p>\n<ul>\n<li><strong>\u51cf\u5c11\u4e0a\u4e0b\u6587\u5207\u6362\u5f00\u9500\uff1a<\/strong>\u521b\u5efa\u65b0\u7684 Goroutine \u4f1a\u9020\u6210\u4e0a\u4e0b\u6587\u5207\u6362\u5f00\u9500\uff0c\u800c\u91cd\u7528\u5df2\u5b58\u5728\u7684 Goroutine \u53ef\u4ee5\u907f\u514d\u8fd9\u79cd\u5f00\u9500\u3002<\/li>\n<li><strong>\u907f\u514d\u8d44\u6e90\u8017\u5c3d\uff1a<\/strong>Goroutine \u6c60\u53ef\u4ee5\u63a7\u5236\u5e76\u53d1 Goroutine \u7684\u6570\u91cf\uff0c\u9632\u6b62\u8d44\u6e90\u8017\u5c3d\u3002<\/li>\n<li><strong>\u63d0\u9ad8\u6027\u80fd\uff1a<\/strong>\u901a\u8fc7\u91cd\u7528 Goroutine\uff0c\u53ef\u4ee5\u63d0\u9ad8\u5e94\u7528\u7a0b\u5e8f\u7684\u6574\u4f53\u6027\u80fd\u3002<\/li>\n<\/ul>\n<p><strong>\u521b\u5efa Goroutine \u6c60<\/strong><\/p>\n<p>\u5728 GOLANG \u4e2d\u521b\u5efa Goroutine \u6c60\u975e\u5e38\u7b80\u5355\uff1a<\/p>\n<pre>package main\n\nimport (\n    \"fmt\"\n    \"sync\"\n    \"time\"\n)\n\nfunc main() {\n    \/\/ \u521b\u5efa\u4e00\u4e2a\u5e26\u6709\u7f13\u51b2\u901a\u9053\u7684\u540c\u6b65\u7b49\u5f85\u7ec4\u3002\n    var wg sync.WaitGroup\n\n    \/\/ \u521b\u5efa Goroutine \u6c60\u3002\n    pool := make([]*sync.WaitGroup, 10)  \/\/ 10\u4e2aGoroutine\n    for i := 0; i &lt; 10; i++ {\n        pool[i] = &amp;wg\n    }\n\n    \/\/ \u5e76\u53d1\u6267\u884c\u4efb\u52a1\u3002\n    for i := 0; i &lt; 100; i++ {\n        go performTask(pool, &amp;wg)\n    }\n\n    \/\/ \u7b49\u5f85\u6240\u6709 Goroutine \u5b8c\u6210\u3002\n    wg.Wait()\n}\n\n\/\/ \u6267\u884c\u4efb\u52a1\u7684\u51fd\u6570\u3002\nfunc performTask(pool []*sync.WaitGroup, wg *sync.WaitGroup) {\n    defer wg.Done()  \/\/ \u6807\u8bb0\u8be5\u51fd\u6570\u5df2\u6267\u884c\u5b8c\u6210\u3002\n\n    \/\/ \u6a21\u62df\u6267\u884c\u4efb\u52a1\u3002\n    time.Sleep(1 * time.Second)\n    fmt.Println(\"\u4efb\u52a1\u5b8c\u6210\")\n}<\/pre>\n<p><strong>\u5b9e\u6218\u6848\u4f8b<\/strong><\/p>\n<p>\u5728\u4ee5\u4e0b\u573a\u666f\u4e2d\uff0cGoroutine \u6c60\u88ab\u7528\u6765\u63d0\u9ad8 Web \u670d\u52a1\u5668\u7684\u6027\u80fd\uff1a<\/p>\n<pre>package main\n\nimport (\n    \"fmt\"\n    \"net\/http\"\n    \"sync\"\n)\n\nfunc main() {\n    \/\/ \u521b\u5efa\u4e00\u4e2a Goroutine \u6c60\u7528\u4e8e\u5904\u7406 HTTP \u8bf7\u6c42\u3002\n    pool := make([]*sync.WaitGroup, 10)\n    for i := 0; i &lt; 10; i++ {\n        pool[i] = &amp;sync.WaitGroup{}\n    }\n\n    http.HandleFunc(\"\/\", func(w http.ResponseWriter, r *http.Request) {\n        go processRequest(pool)\n    })\n\n    \/\/ \u76d1\u542c\u5e76\u670d\u52a1 HTTP \u8bf7\u6c42\u3002\n    http.ListenAndServe(\":8080\", nil)\n}\n\n\/\/ \u5904\u7406 HTTP \u8bf7\u6c42\u7684\u51fd\u6570\u3002\nfunc processRequest(pool []*sync.WaitGroup) {\n    defer pool[0].Done()  \/\/ \u6807\u8bb0\u8be5\u8bf7\u6c42\u5df2\u5904\u7406\u5b8c\u6210\u3002\n\n    \/\/ \u5904\u7406 HTTP \u8bf7\u6c42\u3002\n    fmt.Println(\"\u5904\u7406\u8bf7\u6c42...\")\n    fmt.Fprintln(w, \"Hello, world!\")\n}<\/pre>\n<p>\u4eca\u5929\u5173\u4e8e\u300aGoroutine \u6c60\uff1a\u5728 GOLANG \u5e76\u53d1\u7f16\u7a0b\u4e2d\u7684\u91cd\u8981\u6027\u300b\u7684\u5185\u5bb9\u4ecb\u7ecd\u5c31\u5230\u6b64\u7ed3\u675f\uff0c\u5982\u679c\u6709\u4ec0\u4e48\u7591\u95ee\u6216\u8005\u5efa\u8bae\uff0c\u53ef\u4ee5\u5728GOLANG\u516c\u4f17\u53f7\u4e0b\u591a\u591a\u56de\u590d\u4ea4\u6d41\uff1b\u6587\u4e2d\u82e5\u6709\u4e0d\u6b63\u4e4b\u5904\uff0c\u4e5f\u5e0c\u671b\u56de\u590d\u7559\u8a00\u4ee5\u544a\u77e5\uff01<\/p>\n<dl>\n<dt>\n <\/dt>\n<dd>\n   Go \u6846\u67b6\u4e0e\u5176\u4ed6\u8bed\u8a00\u6846\u67b6\u7684\u6bd4\u8f83\u548c\u5f02\u540c\n <\/dd>\n<\/dl>\n<dl>\n<dt>\n <\/dt>\n<dd>\n   \u5728 Java \u4e2d\u5982\u4f55\u4f7f\u7528\u51fd\u6570\u5f0f\u7f16\u7a0b\u6765\u5b9e\u73b0\u5e76\u884c\u5904\u7406\uff1f\n <\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>\u54c8\u55bd\uff01\u5927\u5bb6\u597d\uff0c\u5f88\u9ad8\u5174\u53c8\u89c1\u9762\u4e86\uff0c\u6211&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4925],"tags":[],"class_list":["post-205605","post","type-post","status-publish","format-standard","hentry","category-4925"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/205605","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=205605"}],"version-history":[{"count":0,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/205605\/revisions"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=205605"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=205605"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=205605"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}