{"id":40623,"date":"2024-12-01T09:05:15","date_gmt":"2024-12-01T01:05:15","guid":{"rendered":"https:\/\/fwq.ai\/blog\/40623\/"},"modified":"2024-12-01T09:05:15","modified_gmt":"2024-12-01T01:05:15","slug":"goroutine-%e6%b1%a0%ef%bc%9a%e5%9c%a8-golang-%e5%87%bd%e6%95%b0%e4%b8%ad%e6%8f%90%e5%8d%87%e5%b9%b6%e5%8f%91%e7%bc%96%e7%a8%8b%e6%b0%b4%e5%b9%b3","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/40623\/","title":{"rendered":"Goroutine \u6c60\uff1a\u5728 Golang \u51fd\u6570\u4e2d\u63d0\u5347\u5e76\u53d1\u7f16\u7a0b\u6c34\u5e73"},"content":{"rendered":"<p>\u4f60\u5728\u5b66\u4e60<br \/>\n<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">Golang<\/span>\u76f8\u5173\u7684\u77e5\u8bc6\u5417\uff1f\u672c\u6587<br \/>\n<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">\u300aGoroutine \u6c60\uff1a\u5728 Golang \u51fd\u6570\u4e2d\u63d0\u5347\u5e76\u53d1\u7f16\u7a0b\u6c34\u5e73\u300b<\/span>\uff0c\u4e3b\u8981\u4ecb\u7ecd\u7684\u5185\u5bb9\u5c31\u6d89\u53ca\u5230<br \/>\n<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\"><\/span>\uff0c\u5982\u679c\u4f60\u60f3\u63d0\u5347\u81ea\u5df1\u7684\u5f00\u53d1\u80fd\u529b\uff0c\u5c31\u4e0d\u8981\u9519\u8fc7\u8fd9\u7bc7\u6587\u7ae0\uff0c\u5927\u5bb6\u8981\u77e5\u9053\u7f16\u7a0b\u7406\u8bba\u57fa\u7840\u548c\u5b9e\u6218\u64cd\u4f5c\u90fd\u662f\u4e0d\u53ef\u6216\u7f3a\u7684\u54e6\uff01,<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20241027\/1729988185671d86593ee54.jpg\" class=\"aligncenter\" title=\"Goroutine \u6c60\uff1a\u5728 Golang \u51fd\u6570\u4e2d\u63d0\u5347\u5e76\u53d1\u7f16\u7a0b\u6c34\u5e73\u63d2\u56fe\" alt=\"Goroutine \u6c60\uff1a\u5728 Golang \u51fd\u6570\u4e2d\u63d0\u5347\u5e76\u53d1\u7f16\u7a0b\u6c34\u5e73\u63d2\u56fe\" \/>,<br \/>\n<strong>\u7b80\u4ecb<\/strong>,Goroutine \u6c60\u662f\u4e00\u79cd\u7528\u4e8e\u7ba1\u7406 Goroutine\uff08Go \u8bed\u8a00\u4e2d\u7684\u8f7b\u91cf\u7ea7\u7ebf\u7a0b\uff09\u7684\u673a\u5236\u3002\u901a\u8fc7\u7ef4\u62a4\u9884\u5148\u5206\u914d\u7684 Goroutine \u96c6\uff0c\u5b83\u53ef\u4ee5\u51cf\u5c11\u521b\u5efa\u548c\u9500\u6bc1 Goroutine \u7684\u5f00\u9500\uff0c\u4ece\u800c\u63d0\u9ad8\u5e76\u53d1\u7f16\u7a0b\u7684\u6548\u7387\u3002,<br \/>\n<strong>\u521b\u5efa Goroutine \u6c60<\/strong>,<br \/>\n<strong>\u4f7f\u7528 Goroutine \u6c60<\/strong>,Goroutine \u6c60\u4f7f\u7528\u65b9\u6cd5\uff1a,<br \/>\n<strong>\u5b9e\u6218\u6848\u4f8b<\/strong>,\u8ba9\u6211\u4eec\u8003\u8651\u4e00\u4e2a\u9700\u8981\u5e76\u53d1\u5904\u7406\u4efb\u52a1\u7684 Web \u670d\u52a1\u793a\u4f8b\uff1a,<br \/>\n<strong>\u4f18\u70b9<\/strong>,\u4f7f\u7528 Goroutine \u6c60\u7684\u4f18\u70b9\u5305\u62ec\uff1a,\u6587\u4e2d\u5173\u4e8e\u5e76\u53d1\u7f16\u7a0b\u7684\u77e5\u8bc6\u4ecb\u7ecd\uff0c\u5e0c\u671b\u5bf9\u4f60\u7684\u5b66\u4e60\u6709\u6240\u5e2e\u52a9\uff01\u82e5\u662f\u53d7\u76ca\u532a\u6d45\uff0c\u90a3\u5c31\u52a8\u52a8\u9f20\u6807\u6536\u85cf\u8fd9\u7bc7\u300aGoroutine \u6c60\uff1a\u5728 Golang \u51fd\u6570\u4e2d\u63d0\u5347\u5e76\u53d1\u7f16\u7a0b\u6c34\u5e73\u300b\u6587\u7ae0\u5427\uff0c\u4e5f\u53ef\u5173\u6ce8golang\u5b66\u4e60\u7f51\u516c\u4f17\u53f7\u4e86\u89e3\u76f8\u5173\u6280\u672f\u6587\u7ae0\u3002,\u63d0\u9ad8\u5e76\u53d1\u5e94\u7528\u7a0b\u5e8f\u7684\u6548\u7387,\u51cf\u5c11\u521b\u5efa\u548c\u9500\u6bc1 Goroutine \u7684\u5f00\u9500,\u7b80\u5316\u5e76\u53d1\u7f16\u7a0b,\u7b80\u4ecb,\u4f60\u5728\u5b66\u4e60<br \/>\n<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">Golang<\/span>\u76f8\u5173\u7684\u77e5\u8bc6\u5417\uff1f\u672c\u6587<br \/>\n<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">\u300aGoroutine \u6c60\uff1a\u5728 Golang \u51fd\u6570\u4e2d\u63d0\u5347\u5e76\u53d1\u7f16\u7a0b\u6c34\u5e73\u300b<\/span>\uff0c\u4e3b\u8981\u4ecb\u7ecd\u7684\u5185\u5bb9\u5c31\u6d89\u53ca\u5230<br \/>\n<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\"><\/span>\uff0c\u5982\u679c\u4f60\u60f3\u63d0\u5347\u81ea\u5df1\u7684\u5f00\u53d1\u80fd\u529b\uff0c\u5c31\u4e0d\u8981\u9519\u8fc7\u8fd9\u7bc7\u6587\u7ae0\uff0c\u5927\u5bb6\u8981\u77e5\u9053\u7f16\u7a0b\u7406\u8bba\u57fa\u7840\u548c\u5b9e\u6218\u64cd\u4f5c\u90fd\u662f\u4e0d\u53ef\u6216\u7f3a\u7684\u54e6\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 \u51fd\u6570\u4e2d\u63d0\u5347\u5e76\u53d1\u7f16\u7a0b\u6c34\u5e73<\/span><\/p>\n<h1>Goroutine \u6c60\uff1a\u5728 Golang \u51fd\u6570\u4e2d\u63d0\u5347\u5e76\u53d1\u7f16\u7a0b\u6c34\u5e73<\/h1>\n<p><span>2024-10-27 08:16:40<\/span><br \/>\n<span><i><\/i>0\u6d4f\u89c8<\/span><br \/>\n<span style=\"cursor: pointer\"><i><\/i>\u6536\u85cf<\/span> <\/p>\n<p>\u4f60\u5728\u5b66\u4e60<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">Golang<\/span>\u76f8\u5173\u7684\u77e5\u8bc6\u5417\uff1f\u672c\u6587<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">\u300aGoroutine \u6c60\uff1a\u5728 Golang \u51fd\u6570\u4e2d\u63d0\u5347\u5e76\u53d1\u7f16\u7a0b\u6c34\u5e73\u300b<\/span>\uff0c\u4e3b\u8981\u4ecb\u7ecd\u7684\u5185\u5bb9\u5c31\u6d89\u53ca\u5230<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\"><\/span>\uff0c\u5982\u679c\u4f60\u60f3\u63d0\u5347\u81ea\u5df1\u7684\u5f00\u53d1\u80fd\u529b\uff0c\u5c31\u4e0d\u8981\u9519\u8fc7\u8fd9\u7bc7\u6587\u7ae0\uff0c\u5927\u5bb6\u8981\u77e5\u9053\u7f16\u7a0b\u7406\u8bba\u57fa\u7840\u548c\u5b9e\u6218\u64cd\u4f5c\u90fd\u662f\u4e0d\u53ef\u6216\u7f3a\u7684\u54e6\uff01<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20241027\/1729988185671d86593ee54.jpg\" class=\"aligncenter\" title=\"Goroutine \u6c60\uff1a\u5728 Golang \u51fd\u6570\u4e2d\u63d0\u5347\u5e76\u53d1\u7f16\u7a0b\u6c34\u5e73\u63d2\u56fe\" alt=\"Goroutine \u6c60\uff1a\u5728 Golang \u51fd\u6570\u4e2d\u63d0\u5347\u5e76\u53d1\u7f16\u7a0b\u6c34\u5e73\u63d2\u56fe\" \/><\/p>\n<h2>Goroutine \u6c60\uff1a\u63d0\u5347 Golang \u5e76\u53d1\u7f16\u7a0b\u6548\u7387<\/h2>\n<p><strong>\u7b80\u4ecb<\/strong><\/p>\n<p>Goroutine \u6c60\u662f\u4e00\u79cd\u7528\u4e8e\u7ba1\u7406 Goroutine\uff08Go \u8bed\u8a00\u4e2d\u7684\u8f7b\u91cf\u7ea7\u7ebf\u7a0b\uff09\u7684\u673a\u5236\u3002\u901a\u8fc7\u7ef4\u62a4\u9884\u5148\u5206\u914d\u7684 Goroutine \u96c6\uff0c\u5b83\u53ef\u4ee5\u51cf\u5c11\u521b\u5efa\u548c\u9500\u6bc1 Goroutine \u7684\u5f00\u9500\uff0c\u4ece\u800c\u63d0\u9ad8\u5e76\u53d1\u7f16\u7a0b\u7684\u6548\u7387\u3002<\/p>\n<p><strong>\u521b\u5efa Goroutine \u6c60<\/strong><\/p>\n<pre>import (\n    \"sync\"\n    \"sync\/atomic\"\n)\n\ntype Pool struct {\n    \/\/ \u5b58\u50a8\u5df2\u521b\u5efa\u7684 Goroutine\n    goroutines chan func()\n    \n    \/\/ \u8ddf\u8e2a\u5f53\u524d\u6d3b\u52a8 Goroutine \u6570\u91cf\n    active int64\n}\n\nfunc NewPool(size int) *Pool {\n    return &amp;Pool{\n        goroutines: make(chan func(), size),\n        active:     0,\n    }\n}<\/pre>\n<p><strong>\u4f7f\u7528 Goroutine \u6c60<\/strong><\/p>\n<p>Goroutine \u6c60\u4f7f\u7528\u65b9\u6cd5\uff1a<\/p>\n<ol>\n<li>\n<p><strong>\u83b7\u53d6 Goroutine\uff1a<\/strong>\u4ece\u6c60\u4e2d\u83b7\u53d6\u4e00\u4e2a\u7a7a\u95f2\u7684 Goroutine\u3002<\/p>\n<pre>func (p *Pool) Get() func() {\n \/\/ \u5982\u679c\u6c60\u4e2d\u6ca1\u6709\u53ef\u7528 Goroutine\uff0c\u5219\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\n if p.available() &lt;= 0 {\n     p.grow()\n }\n\n return &lt;-p.goroutines\n}<\/pre>\n<\/li>\n<li>\n<p><strong>\u6267\u884c\u4efb\u52a1\uff1a<\/strong>\u5728\u83b7\u53d6\u7684 Goroutine \u4e2d\u6267\u884c\u4efb\u52a1\u3002<\/p>\n<pre>func (p *Pool) Run(f func()) {\n g := p.Get()\n defer func() { p.put(g) }()\n \n g()\n}<\/pre>\n<\/li>\n<li>\n<p><strong>\u91ca\u653e Goroutine\uff1a<\/strong>\u5f53\u4efb\u52a1\u6267\u884c\u5b8c\u6bd5\u540e\uff0c\u5c06 Goroutine \u5f52\u8fd8\u7ed9\u6c60\u4e2d\u3002<\/p>\n<pre>func (p *Pool) put(g func()) {\n p.goroutines &lt;- g\n atomic.AddInt64(&amp;p.active, -1)\n}<\/pre>\n<\/li>\n<\/ol>\n<p><strong>\u5b9e\u6218\u6848\u4f8b<\/strong><\/p>\n<p>\u8ba9\u6211\u4eec\u8003\u8651\u4e00\u4e2a\u9700\u8981\u5e76\u53d1\u5904\u7406\u4efb\u52a1\u7684 Web \u670d\u52a1\u793a\u4f8b\uff1a<\/p>\n<pre>import \"github.com\/ChrisRx\/goroutine-pool\"\n\nfunc main() {\n    \/\/ \u521b\u5efa\u4e00\u4e2a Goroutine \u6c60\n    pool := goroutine_pool.NewPool(10) \/\/ 10 \u4e2a Goroutine \u7684\u6c60\n\n    for i := 0; i &lt; 100; i++ {\n        \/\/ \u5c06\u4efb\u52a1\u63d0\u4ea4\u7ed9\u6c60\n        pool.Run(func() {\n            fmt.Println(\"Task \", i, \" executed\")\n        })\n    }\n\n    \/\/ \u7b49\u5f85\u6240\u6709\u4efb\u52a1\u5b8c\u6210\n    pool.Wait()\n}<\/pre>\n<p><strong>\u4f18\u70b9<\/strong><\/p>\n<p>\u4f7f\u7528 Goroutine \u6c60\u7684\u4f18\u70b9\u5305\u62ec\uff1a<\/p>\n<ul>\n<li>\u51cf\u5c11\u521b\u5efa\u548c\u9500\u6bc1 Goroutine \u7684\u5f00\u9500<\/li>\n<li>\u63d0\u9ad8\u5e76\u53d1\u5e94\u7528\u7a0b\u5e8f\u7684\u6548\u7387<\/li>\n<li>\u7b80\u5316\u5e76\u53d1\u7f16\u7a0b<\/li>\n<\/ul>\n<p>\u6587\u4e2d\u5173\u4e8e\u5e76\u53d1\u7f16\u7a0b\u7684\u77e5\u8bc6\u4ecb\u7ecd\uff0c\u5e0c\u671b\u5bf9\u4f60\u7684\u5b66\u4e60\u6709\u6240\u5e2e\u52a9\uff01\u82e5\u662f\u53d7\u76ca\u532a\u6d45\uff0c\u90a3\u5c31\u52a8\u52a8\u9f20\u6807\u6536\u85cf\u8fd9\u7bc7\u300aGoroutine \u6c60\uff1a\u5728 Golang \u51fd\u6570\u4e2d\u63d0\u5347\u5e76\u53d1\u7f16\u7a0b\u6c34\u5e73\u300b\u6587\u7ae0\u5427\uff0c\u4e5f\u53ef\u5173\u6ce8golang\u5b66\u4e60\u7f51\u516c\u4f17\u53f7\u4e86\u89e3\u76f8\u5173\u6280\u672f\u6587\u7ae0\u3002<\/p>\n<dl>\n<dt>\n <\/dt>\n<dd>\n   CSS \u6d6e\u52a8\u5143\u7d20\u8d1f\u8fb9\u8ddd\u4e3a\u4f55\u4f1a\u5bfc\u81f4\u4f4d\u7f6e\u672a\u5b9a\u4e49\uff1f\n <\/dd>\n<\/dl>\n<dl>\n<dt>\n <\/dt>\n<dd>\n   Golang \u6846\u67b6\u6027\u80fd\u4f18\u5316\u4e2d\u7684\u5185\u5b58\u7ba1\u7406\u6280\u5de7\n <\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>\u4f60\u5728\u5b66\u4e60 Golang\u76f8\u5173\u7684\u77e5\u8bc6\u5417\uff1f\u672c\u6587 \u300aGoroutine \u6c60\uff1a\u5728 Golang \u51fd\u6570\u4e2d\u63d0\u5347\u5e76\u53d1\u7f16\u7a0b\u6c34\u5e73\u300b\uff0c\u4e3b\u8981\u4ecb\u7ecd\u7684\u5185\u5bb9\u5c31\u6d89\u53ca\u5230 \uff0c\u5982\u679c\u4f60\u60f3\u63d0\u5347\u81ea\u5df1\u7684\u5f00\u53d1\u80fd\u529b\uff0c\u5c31\u4e0d\u8981\u9519\u8fc7\u8fd9\u7bc7\u6587\u7ae0\uff0c\u5927\u5bb6\u8981\u77e5\u9053\u7f16\u7a0b\u7406\u8bba\u57fa\u7840\u548c\u5b9e\u6218\u64cd\u4f5c\u90fd\u662f\u4e0d\u53ef\u6216\u7f3a\u7684\u54e6\uff01, , \u7b80\u4ecb,Goroutine \u6c60\u662f\u4e00\u79cd\u7528\u4e8e\u7ba1\u7406 Goroutine\uff08Go \u8bed\u8a00\u4e2d\u7684\u8f7b\u91cf\u7ea7\u7ebf\u7a0b\uff09\u7684\u673a\u5236\u3002\u901a\u8fc7\u7ef4\u62a4\u9884\u5148\u5206\u914d\u7684 Goroutine \u96c6\uff0c\u5b83\u53ef\u4ee5\u51cf\u5c11\u521b\u5efa\u548c\u9500\u6bc1 Goroutine \u7684\u5f00\u9500\uff0c\u4ece\u800c\u63d0\u9ad8\u5e76\u53d1\u7f16\u7a0b\u7684\u6548\u7387\u3002, \u521b\u5efa Goroutine \u6c60, \u4f7f\u7528 Goroutine \u6c60,Goroutine \u6c60\u4f7f\u7528\u65b9\u6cd5\uff1a, \u5b9e\u6218\u6848\u4f8b,\u8ba9\u6211\u4eec\u8003\u8651\u4e00\u4e2a\u9700\u8981\u5e76\u53d1\u5904\u7406\u4efb\u52a1\u7684 Web \u670d\u52a1\u793a\u4f8b\uff1a, \u4f18\u70b9,\u4f7f\u7528 Goroutine \u6c60\u7684\u4f18\u70b9\u5305\u62ec\uff1a,\u6587\u4e2d\u5173\u4e8e\u5e76\u53d1\u7f16\u7a0b\u7684\u77e5\u8bc6\u4ecb\u7ecd\uff0c\u5e0c\u671b\u5bf9\u4f60\u7684\u5b66\u4e60\u6709\u6240\u5e2e\u52a9\uff01\u82e5\u662f\u53d7\u76ca\u532a\u6d45\uff0c\u90a3\u5c31\u52a8\u52a8\u9f20\u6807\u6536\u85cf\u8fd9\u7bc7\u300aGoroutine \u6c60\uff1a\u5728 Golang \u51fd\u6570\u4e2d\u63d0\u5347\u5e76\u53d1\u7f16\u7a0b\u6c34\u5e73\u300b\u6587\u7ae0\u5427\uff0c\u4e5f\u53ef\u5173\u6ce8golang\u5b66\u4e60\u7f51\u516c\u4f17\u53f7\u4e86\u89e3\u76f8\u5173\u6280\u672f\u6587\u7ae0\u3002,\u63d0\u9ad8\u5e76\u53d1\u5e94\u7528\u7a0b\u5e8f\u7684\u6548\u7387,\u51cf\u5c11\u521b\u5efa\u548c\u9500\u6bc1 Goroutine \u7684\u5f00\u9500,\u7b80\u5316\u5e76\u53d1\u7f16\u7a0b,\u7b80\u4ecb,\u4f60\u5728\u5b66\u4e60 Golang\u76f8\u5173\u7684\u77e5\u8bc6\u5417\uff1f\u672c\u6587 \u300aGoroutine \u6c60\uff1a\u5728 Golang \u51fd\u6570\u4e2d\u63d0\u5347\u5e76\u53d1\u7f16\u7a0b\u6c34\u5e73\u300b\uff0c\u4e3b\u8981\u4ecb\u7ecd\u7684\u5185\u5bb9\u5c31\u6d89\u53ca\u5230 \uff0c\u5982\u679c\u4f60\u60f3\u63d0\u5347\u81ea\u5df1\u7684\u5f00\u53d1\u80fd\u529b\uff0c\u5c31\u4e0d\u8981\u9519\u8fc7\u8fd9\u7bc7\u6587\u7ae0\uff0c\u5927\u5bb6\u8981\u77e5\u9053\u7f16\u7a0b\u7406\u8bba\u57fa\u7840\u548c\u5b9e\u6218\u64cd\u4f5c\u90fd\u662f\u4e0d\u53ef\u6216\u7f3a\u7684\u54e6\uff01, \u5f53\u524d\u4f4d\u7f6e\uff1a &gt; &gt; &gt; &gt; Goroutine \u6c60\uff1a\u5728 Golang \u51fd\u6570\u4e2d\u63d0\u5347\u5e76\u53d1\u7f16\u7a0b\u6c34\u5e73 Goroutine \u6c60\uff1a\u5728 Golang \u51fd\u6570\u4e2d\u63d0\u5347\u5e76\u53d1\u7f16\u7a0b\u6c34\u5e73 2024-10-27 08:16:40 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"class_list":["post-40623","post","type-post","status-publish","format-standard","hentry","category-docker"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/40623","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=40623"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/40623\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=40623"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=40623"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=40623"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}