{"id":1414,"date":"2022-11-12T09:15:33","date_gmt":"2022-11-12T01:15:33","guid":{"rendered":"http:\/\/zhang.mba\/?p=1414"},"modified":"2022-11-12T09:19:37","modified_gmt":"2022-11-12T01:19:37","slug":"golang-bian-cheng-wen-ti-bao-cuo-jie-jue-ji-lu","status":"publish","type":"post","link":"https:\/\/zhang.mba\/index.php\/2022\/11\/12\/09\/15\/33\/1414\/golang-bian-cheng-wen-ti-bao-cuo-jie-jue-ji-lu\/go\/zhangzhiqi\/","title":{"rendered":"\u3010Golang\u3011\u7f16\u7a0b\u95ee\u9898\u62a5\u9519\u89e3\u51b3\u8bb0\u5f55"},"content":{"rendered":"<p>\u8bb0\u5f55\u4e00\u4e9b Golang \u7f16\u7a0b\u4e2d\u7684\u62a5\u9519\u5904\u7406\u3002<\/p>\n<h2><a id=\"idea%E6%8A%A5%E9%94%99%E6%97%A0%E6%B3%95%E5%9C%A8%E6%9E%84%E5%BB%BA%E5%90%8E%E8%BF%90%E8%A1%8C%E2%80%98-main%E2%80%99%E6%96%87%E4%BB%B6%E5%85%B7%E6%9C%89%E9%9D%9E-main%E8%BD%AF%E4%BB%B6%E5%8C%85%E6%88%96%E4%B8%8D%E5%8C%85%E5%90%AB%E2%80%98-main%E2%80%99%E5%87%BD%E6%95%B0%EF%BC%88-main%E5%8C%85%EF%BC%89\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>IDEA\u62a5\u9519: \u65e0\u6cd5\u5728\u6784\u5efa\u540e\u8fd0\u884c \u2018main\u2019 \u6587\u4ef6\u5177\u6709\u975e main \u8f6f\u4ef6\u5305\u6216\u4e0d\u5305\u542b \u2018main\u2019 \u51fd\u6570\uff08main\u5305\uff09<\/h2>\n<h4><a id=\"%E9%94%99%E8%AF%AF%E6%88%AA%E5%9B%BE%E5%92%8C%E4%BB%A3%E7%A0%81\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>\u9519\u8bef\u622a\u56fe\u548c\u4ee3\u7801<\/h4>\n<p>\u9519\u8bef\u622a\u56fe<\/p>\n<p><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='http:\/\/zhang.mba\/wp-content\/uploads\/2022\/11\/16682159141432.png'><img class=\"lazyload lazyload-style-2\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  data-original=\"http:\/\/zhang.mba\/wp-content\/uploads\/2022\/11\/16682159141432.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"[\u5916\u94fe\u56fe\u7247\u8f6c\u5b58\u5931\u8d25,\u6e90\u7ad9\u53ef\u80fd\u6709\u9632\u76d7\u94fe\u673a\u5236,\u5efa\u8bae\u5c06\u56fe\u7247\u4fdd\u5b58\u4e0b\u6765\u76f4\u63a5\u4e0a\u4f20(img-xKKhypux-1639278226140)(C:\\Users\\Administrator\\AppData\\Roaming\\Typora\\typora-user-images\\image-20211212105820707.png)]\" \/><\/div><br \/>\n\u5bf9\u5e94\u4ee3\u7801\uff1apackage Go_in_action<\/p>\n<p>\u6210\u529f\u5904\u7406\uff1a\u4fee\u6539\u4e3a package main<\/p>\n<h4><a id=\"%E5%8E%9F%E7%90%86%E5%92%8C%E7%BB%93%E8%AE%BA\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>\u539f\u7406\u548c\u7ed3\u8bba<\/h4>\n<p><strong>\u539f\u7406\uff1a<\/strong> \u5f15\u7528\u300aGo in action\u300b<\/p>\n<p>\u7b2c\u4e8c\u7ae0\u7b80\u5355\u63cf\u8ff0: main()\u51fd\u6570\u4fdd\u5b58\u5728\u540d\u4e3a <code>main<\/code> \u7684\u5305\u91cc\u3002\u5982\u679c main \u51fd\u6570\u4e0d\u5728 <code>main<\/code> \u5305\u91cc\uff0c\u6784\u5efa\u5de5\u5177\u5c31\u4e0d\u4f1a\u751f\u6210\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/p>\n<p>3.1.2 &#8211; main\u5305: \u5728 Go \u8bed\u8a00\u91cc\uff0c\u547d\u540d\u4e3a main \u7684\u5305\u5177\u6709\u7279\u6b8a\u7684\u542b\u4e49\u3002\uff08\u6839\u636e\u4e2a\u4eba\u7406\u89e3\u5206\u70b9\u8bf4\u660e\u4e14\u6dfb\u52a0\u5c0f\u6807\u9898\uff09<\/p>\n<ul>\n<li>\u7f16\u8bd1\u53ef\u6267\u884c\u6587\u4ef6\u5fc5\u5907\u7684\u5305\uff1aGo \u8bed\u8a00\u7684\u7f16\u8bd1\u7a0b\u5e8f\u4f1a\u8bd5\u56fe\u628a main \u7684\u5305\u7f16\u8bd1\u6210\u4e8c\u8fdb\u5236\u53ef\u6267\u884c\u6587\u4ef6\u3002\u56e0\u6b64\u6240\u6709\u7528Go\u8bed\u8a00\u7f16\u8bd1\u7684\u53ef\u6267\u884c\u7a0b\u5e8f\uff0c\u90fd\u5fc5\u987b\u6709\u4e00\u4e2a\u540d\u53ebmain\u7684\u5305<\/li>\n<li>\u7f16\u8bd1\u53ef\u6267\u884c\u6587\u4ef6\u5fc5\u5907\u7684\u51fd\u6570\uff1a\u5f53\u7f16\u8bd1\u5668\u53d1\u73b0\u67d0\u4e2a\u5305\u7684\u540d\u5b57\u4e3a main \u65f6\uff0c\u5b83\u5fc5\u987b\u53d1\u73b0\u540d\u4e3a main() \u7684\u51fd\u6570\uff0c\u5426\u5219\u4e0d\u4f1a\u521b\u5efa\u53ef\u6267\u884c\u6587\u4ef6\u3002\uff08\u56e0\u4e3amain()\u51fd\u6570\u662f\u7a0b\u5e8f\u7684\u5165\u53e3\uff0c\u6ca1\u6709\u8fd9\u4e2a\u51fd\u6570\uff0c\u7a0b\u5e8f\u5c31\u65e0\u6cd5\u5f00\u59cb\u6267\u884c\uff09<\/li>\n<li>\u53ef\u6267\u884c\u6587\u4ef6\u7684\u547d\u540d\uff1a\u7a0b\u5e8f\u7f16\u8bd1\u65f6\uff0c\u4f1a\u4f7f\u7528\u58f0\u660e main \u5305\u7684\u4ee3\u7801\u6240\u5728\u76ee\u5f55\u7684 <code>\u76ee\u5f55\u540d<\/code> \u4f5c\u4e3a\u4e8c\u8fdb\u5236\u53ef\u6267\u884c\u6587\u4ef6\u7684\u6587\u4ef6\u540d\u3002<\/li>\n<\/ul>\n<p><strong>\u7ed3\u8bba\uff1a<\/strong><\/p>\n<ul>\n<li>\u5165\u53e3\u51fd\u6570\u6240\u5728\u7684\u6587\u4ef6\uff0c\u5fc5\u987b\u58f0\u660e main \u5305\uff0c\u5426\u5219\u65e0\u6cd5\u7f16\u8bd1\u4e8c\u8fdb\u5236\u53ef\u6267\u884c\u7a0b\u5e8f<\/li>\n<li>\u4e8c\u8fdb\u5236\u53ef\u6267\u884c\u7a0b\u5e8f\u547d\u540d\uff0c\u662f\u58f0\u660e main \u5305\u4ee3\u7801\u6240\u5728\u76ee\u5f55\u7684 <code>\u76ee\u5f55\u540d<\/code><\/li>\n<\/ul>\n<h2><a id=\"%E5%90%8C%E7%BA%A7%E7%9B%AE%E5%BD%95%E5%BC%95%E7%94%A8%E5%85%B6%E4%BB%96%E6%96%87%E4%BB%B6%E5%86%85%E5%AE%B9\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>\u540c\u7ea7\u76ee\u5f55\u5f15\u7528\u5176\u4ed6\u6587\u4ef6\u5185\u5bb9<\/h2>\n<p>@Date\uff1a2022-04-05<\/p>\n<p>Crawlergo\u9879\u76ee\u4e2d\uff0c<code>Crawlergo\/cmd\/crawlergo\/crawlergo_cmd.go<\/code> \u901a\u8fc7 <code>&quot;crawlergo\/pkg\/config&quot;<\/code> \u5f15\u7528\u67d0\u4e2a\u76ee\u5f55\u3002<\/p>\n<p>\u5728 crawlergo_cmd.go \u540c\u7ea7\u76ee\u5f55\u4e0b\u521b\u5efa paramsFuzz.go\uff0c\u7531\u4e8e\u60f3\u548c crawlergo_cmd.go \u7684<a href=\"https:\/\/so.csdn.net\/so\/search?q=%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84&amp;spm=1001.2101.3001.7020\">\u6570\u636e\u7ed3\u6784<\/a>\u4fdd\u6301\u4e00\u81f4\uff0c\u8ba1\u5212\u5f15\u7528\u8be5\u6587\u4ef6\u4e2d\u7684\u7ed3\u6784\u4f53\u3002<\/p>\n<h4><a id=\"%E5%BC%95%E7%94%A8%E6%8A%A5%E9%94%99%EF%BC%9Aundefined\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>\u5f15\u7528\u62a5\u9519\uff1aundefined<\/h4>\n<pre class=\"line-numbers\"><code class=\"language-go\">\/\/ \u6309\u7167\u5176\u4ed6\u5f15\u7528\u5199\u6cd5\uff0c\u4f7f\u7528\u5982\u4e0b\u8def\u5f84\u5f15\u7528\t\n\/\/ \u62a5\u9519\uff1a\u7f16\u8bd1\u8fc7\u7a0b\u4e2d\u4f1a\u81ea\u52a8\u5220\u9664\u8be5\u884c\u4ee3\u7801\uff0c\u7136\u540e\u53d8\u91cf\u5c31\u4f1a\u62a5\u9519 undefined\nimport(&quot;crawlergo\/cmd\/crawlergo\/crawlergo_cmd&quot;)\n<\/code><\/pre>\n<p>\u7f16\u8f91\u8fd0\u884c\u914d\u7f6e\uff0c\u53d1\u73b0<\/p>\n<ul>\n<li>\u5de5\u4f5c\u76ee\u5f55\uff1a\u662f\u9879\u76ee\u6839\u76ee\u5f55 <code>crawlergo-0.4.2<\/code><\/li>\n<li>\u8fd0\u884c\u79cd\u7c7b\uff1a\u6587\u4ef6<\/li>\n<\/ul>\n<h4><a id=\"%E5%BC%95%E7%94%A8%E6%8A%A5%E9%94%99%EF%BC%9Aimport-cycle-not-allowed\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>\u5f15\u7528\u62a5\u9519\uff1aimport cycle not allowed<\/h4>\n<p>\u4fee\u6539 <code>\u8fd0\u884c<\/code> \u79cd\u7c7b\u4e3a\u76ee\u5f55\uff0c\u5f15\u7528\u8def\u5f84\u4e0d\u53d8\uff0c\u6b64\u65f6 IDEA \u53ef\u4ee5\u770b\u5230\u627e\u5230\u4e86 <code>crawlergo.Request<\/code> \u7ed3\u6784\u4f53\uff0c\u5e94\u8be5\u53ef\u4ee5\u8fd0\u884c\u3002\u8fd0\u884c\u65f6\u62a5\u9519\u5982\u4e0b\uff1a<\/p>\n<pre class=\"line-numbers\"><code class=\"language-go\">\/\/ \u62a5\u9519\uff1aimport cycle not allowed\nimport(&quot;crawlergo\/cmd\/crawlergo\/crawlergo_cmd&quot;)\n<\/code><\/pre>\n<p>\u53c2\u8003\u6587\u7ae0<\/p>\n<ul>\n<li><a href=\"https:\/\/www.perfcode.com\/p\/import-cycle-not-allowed.html\">Golang\u4e2d import cycle not allowed \u7684\u89e3\u51b3\u65b9\u6cd5<\/a><\/li>\n<li><a href=\"https:\/\/blog.csdn.net\/ggq89\/article\/details\/81148558\">Golang\u4e2d\u89e3\u51b3&quot;import cycle not allowed&quot;\u76842\u79cd\u65b9\u6cd5<\/a><\/li>\n<\/ul>\n<p>\u5728\u4f7f\u7528import\u5bfc\u5165\u76f8\u5e94\u7684\u5305\u65f6\uff0c\u4f60\u53ef\u80fd\u4f1a\u78b0\u5230 import cycle not allowed \u8fd9\u6837\u7684\u95ee\u9898\uff0c\u51fa\u73b0\u8fd9\u6837\u7684\u95ee\u9898\u662f\u4f60\u7684\u5305\u6ca1\u6709\u89c4\u5212\u597d\uff0c\u5bfc\u81f4\u5305\u76f8\u4e92\u4f9d\u8d56\u3002<\/p>\n<p>\u8fd9\u79cd\u76f8\u4e92\u4f9d\u8d56\u53ef\u4ee5\u901a\u8fc7\u5c06\u65b9\u6cd5\u62c6\u5206\u5230\u53e6\u4e00\u4e2a\u5305\u7684\u65b9\u5f0f\u6765\u89e3\u51b3\u3002<\/p>\n<p>\u89e3\u51b3\u65b9\u5f0f\uff1a\u5176\u5b9e\u8003\u8651\u5230\u4e86\u5305\u4f9d\u8d56\u7684\u95ee\u9898\uff0c\u628a\u7ed3\u6784\u4f53 <code>crawlergo.Request<\/code> \u590d\u5236\u8fc7\u6765\u4e00\u4efd\u5c31\u884c\u4e86\u3002<\/p>\n<h2><a id=\"%E5%86%85%E5%AD%98%E6%B3%84%E9%9C%B2%E9%94%99%E8%AF%AF%EF%BC%9Aioutil-readall-resp-body%EF%BC%88%E6%95%B0%E7%BB%84%E4%B8%BA%E7%A9%BA%E5%AF%BC%E8%87%B4%E7%9A%84%E6%8A%A5%E9%94%99%EF%BC%89\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>\u5185\u5b58\u6cc4\u9732\u9519\u8bef\uff1aioutil.ReadAll(resp.Body)\uff08\u6570\u7ec4\u4e3a\u7a7a\u5bfc\u81f4\u7684\u62a5\u9519\uff09<\/h2>\n<p>date\uff1a2022\u5e744\u6708<\/p>\n<p>\u62a5\u9519\u4ee3\u7801\uff1abody, err := <code>ioutil.ReadAll(resp.Body)<\/code><br \/>\n\u62a5\u9519\u4fe1\u606f\uff1apanic: runtime error: invalid memory address or nil pointer dereference<br \/>\n[signal 0xc0000005 code=0x0 addr=0x40 pc=0xf68225]<\/p>\n<p><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='http:\/\/zhang.mba\/wp-content\/uploads\/2022\/11\/16682159141446.png'><img class=\"lazyload lazyload-style-2\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  data-original=\"http:\/\/zhang.mba\/wp-content\/uploads\/2022\/11\/16682159141446.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/div><\/p>\n<p>\u53c2\u8003\u6587\u7ae0<\/p>\n<ul>\n<li><a href=\"https:\/\/blog.csdn.net\/xuefeng1207\/article\/details\/87939737\">Go\u5b66\u4e60\u4e4bioutil.ReadAll\u6ce8\u610f\u4e8b\u9879<\/a><\/li>\n<li><a href=\"https:\/\/wenku.baidu.com\/view\/553b8fad6629647d27284b73f242336c1eb93006.html\">golang\u5904\u7406httpresponse\u78b0\u5230\u7684\u95ee\u9898\u548c\u9700\u8981\u6ce8\u610f\u7684\u70b9<\/a><\/li>\n<\/ul>\n<p>\u62a5\u9519\u539f\u56e0\uff1aresponse body \u9700\u8981\u5173\u95ed\uff0c\u5426\u5219\u53ef\u80fd\u4f1a\u9020\u6210\u5185\u5b58\u6cc4\u9732\u3002<br \/>\n~\u5c1d\u8bd5\u89e3\u51b3\uff1a\u5b9a\u4e49\u53d8\u91cf\u63a5\u6536 response body \u7684\u5185\u5bb9\uff0c\u7136\u540e\u91ca\u653e response body \u3002~<\/p>\n<pre class=\"line-numbers\"><code class=\"language-go\">body, err := ioutil.ReadAll(resp.Body)\n\n\t\t\trespText := string(body)\n\t\t\terr = resp.Body.Close()\n\t\t\tif err != nil {\n\t\t\t\treturn\n\t\t\t}\n<\/code><\/pre>\n<p>~\u7ecf\u8fc7\u4e00\u6b21\u6d4b\u8bd5\uff0c\u6ca1\u6709\u62a5\u9519\u3002\u540e\u7eed\u8fd0\u884c\u65f6\u53c8\u62a5\u51fa\u76f8\u540c\u7684\u9519\u8bef\uff0c\u4f46\u4e5f\u6ca1\u6709\u4f7f\u7528\u5e76\u53d1\u673a\u5236\uff0c\u5e94\u8be5\u4e0d\u5b58\u5728\u5f02\u6b65\u5bfc\u81f4\u7684\u8d44\u6e90\u672a\u5173\u95ed\u3002~<\/p>\n<p>~\u66f4\u6539\u4e3a defer \u4ee3\u7801\uff0c\u4ecd\u7136\u62a5\u9519\uff0c\u63a8\u6d4b\u4e0d\u662f\u56e0\u4e3a body \u6ca1\u6709\u5173\u95ed\u7684\u539f\u56e0\u3002~<br \/>\n\u53c2\u8003\u6587\u7ae0\uff1a<a href=\"https:\/\/wenku.baidu.com\/view\/2423946f6aeae009581b6bd97f1922791688be06.html\">Go\u8bed\u8a00\u4e2ddefer\u7684\u4e00\u4e9b\u5751<\/a><br \/>\n~\u5c1d\u8bd5\u89e3\u51b3\uff1a\u628a <code>defer<\/code> \u5220\u9664\uff0c\u8fd8\u662f\u62a5\u9519\u3002~<\/p>\n<pre class=\"line-numbers\"><code class=\"language-go\">\t\t\tbody, err := ioutil.ReadAll(resp.Body)\n\t\t\tif err != nil {\n\t\t\t\treturn\n\t\t\t}\n\t\t\t\/\/body, err := ioutil.ReadAll(resp.Body)\n\n\t\t\trespText := string(body)\n\n\t\t\tresp.Body.Close()\n<\/code><\/pre>\n<p>~\u600e\u4e48\u6539\u90fd\u8fd8\u662f\u62a5\u9519 panic: runtime error: invalid memory address or nil pointer dereference\u3002<br \/>\n\u63a8\u6d4b\u90a3\u5c31\u662f\u4ee3\u7801\u7684\u95ee\u9898\u4e86\uff0c<a href=\"https:\/\/blog.csdn.net\/zf766045962\/article\/details\/89242601\">go\u8bed\u8a00http\u8bf7\u6c42(\u4e00)<\/a> \u7684\u4ee3\u7801\u4e0d\u80fd\u652f\u6301\u5927\u6279\u91cf\u7684http\u8bf7\u6c42\u3002~<\/p>\n<p>\u6253\u5370\u4e86\u53c2\u6570\u6784\u9020\u524d\u540e\u7684\u4fe1\u606f\uff0c\u53d1\u73b0\u5982\u679c\u4ee5 <code>?<\/code> \u6765\u63d0\u53d6\u53c2\u6570\uff0c\u6709\u65f6\u4f1a\u9047\u5230 <code>http:\/\/127.0.0.1\/DVWA-master\/index.php?<\/code> \u8fd9\u6837\u7684 URL\uff0c\u6b64\u65f6\u53c2\u6570\u6570\u7ec4\u662f\u7a7a\u6570\u7ec4\uff0c\u904d\u5386\u7a7a\u6570\u7ec4\u5bfc\u81f4\u62a5\u9519\u3002<\/p>\n<p>\u6587\u7ae0\u6765\u6e90&#8212;&#8212;<a href=\"https:\/\/blog.csdn.net\/soldi_er\">\u533a\u5757\u94fe\u5e02\u573a\u89c2\u5bdf\u5bb6<\/a><\/p>\n<!--CusAds0-->\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>\u8bb0\u5f55\u4e00\u4e9b Golang \u7f16\u7a0b\u4e2d\u7684\u62a5\u9519\u5904\u7406\u3002 IDEA\u62a5\u9519: \u65e0\u6cd5\u5728\u6784\u5efa\u540e\u8fd0\u884c \u2018main\u2019 \u6587\u4ef6\u5177\u6709\u975e main \u8f6f\u4ef6\u5305\u6216\u4e0d\u5305\u542b \u2018main\u2019 \u51fd\u6570\uff08main\u5305\uff09 \u9519\u8bef\u622a\u56fe\u548c\u4ee3\u7801 \u9519\u8bef\u622a\u56fe \u5bf9\u5e94\u4ee3\u7801\uff1apackage Go_in_action \u6210\u529f\u5904\u7406\uff1a\u4fee\u6539\u4e3a package main \u539f\u7406\u548c\u7ed3\u8bba \u539f\u7406\uff1a \u5f15\u7528\u300aGo i &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0},"categories":[55],"tags":[],"_links":{"self":[{"href":"https:\/\/zhang.mba\/index.php\/wp-json\/wp\/v2\/posts\/1414"}],"collection":[{"href":"https:\/\/zhang.mba\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zhang.mba\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zhang.mba\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zhang.mba\/index.php\/wp-json\/wp\/v2\/comments?post=1414"}],"version-history":[{"count":0,"href":"https:\/\/zhang.mba\/index.php\/wp-json\/wp\/v2\/posts\/1414\/revisions"}],"wp:attachment":[{"href":"https:\/\/zhang.mba\/index.php\/wp-json\/wp\/v2\/media?parent=1414"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zhang.mba\/index.php\/wp-json\/wp\/v2\/categories?post=1414"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zhang.mba\/index.php\/wp-json\/wp\/v2\/tags?post=1414"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}