{"id":165229,"date":"2024-05-08T15:11:59","date_gmt":"2024-05-08T07:11:59","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/165229.html"},"modified":"2024-05-08T15:12:06","modified_gmt":"2024-05-08T07:12:06","slug":"linux%e7%8e%af%e5%a2%83%e4%b8%8bgo%e8%af%ad%e8%a8%80%e5%bc%80%e5%8f%91%e4%bb%80%e4%b9%88%e6%84%8f%e6%80%9d","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/165229.html","title":{"rendered":"Linux\u73af\u5883\u4e0bGo\u8bed\u8a00\u5f00\u53d1\u4ec0\u4e48\u610f\u601d"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/26232146\/dd37aa82-ebaf-40cf-8407-2ffc747bcf05.webp\" alt=\"Linux\u73af\u5883\u4e0bGo\u8bed\u8a00\u5f00\u53d1\u4ec0\u4e48\u610f\u601d\" \/><\/p>\n<p><p>Linux\u73af\u5883\u4e0bGo\u8bed\u8a00\u5f00\u53d1\u662f\u6307\u5728Linux\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u4f7f\u7528Go\u8bed\u8a00\u8fdb\u884c\u8f6f\u4ef6\u6216\u5e94\u7528\u7a0b\u5e8f\u7684\u8bbe\u8ba1\u548c\u7f16\u7801\u3002<strong>Go\u8bed\u8a00\uff08\u4e5f\u79f0\u4e3aGolang\uff09\u662f\u7531Google\u8bbe\u8ba1\u5e76\u5f00\u53d1\u7684\u4e00\u79cd\u9759\u6001\u5f3a\u7c7b\u578b\u3001\u7f16\u8bd1\u578b\u3001\u5e76\u53d1\u578b\uff0c\u4e14\u5177\u6709\u5783\u573e\u56de\u6536\u529f\u80fd\u7684\u7a0b\u5e8f\u8bbe\u8ba1\u8bed\u8a00<\/strong>\u3002\u5b83\u7684\u8bbe\u8ba1\u521d\u8877\u662f\u63d0\u9ad8\u7a0b\u5e8f\u5458\u7684\u7f16\u7a0b\u6548\u7387\u3001\u6539\u5584\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u7ef4\u62a4\u6027\uff0c\u5e76\u5145\u5206\u5229\u7528\u73b0\u4ee3\u591a\u6838\u673a\u5668\u7684\u8ba1\u7b97\u80fd\u529b\u3002<strong>\u5728Linux\u73af\u5883\u4e0b\u8fdb\u884cGo\u8bed\u8a00\u5f00\u53d1\uff0c\u7a0b\u5e8f\u5458\u53ef\u4ee5\u5145\u5206\u5229\u7528Linux\u7684\u5f00\u6e90\u7279\u6027\u548c\u7a33\u5b9a\u6027\uff0c\u4ee5\u53caGo\u8bed\u8a00\u9ad8\u6548\u7684\u6267\u884c\u901f\u5ea6\u548c\u5e76\u53d1\u5904\u7406\u80fd\u529b<\/strong>\uff0c\u5171\u540c\u4e3a\u5f00\u53d1\u8005\u4eec\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5f3a\u5927\u7684\u5f00\u53d1\u73af\u5883\u3002<\/p>\n<\/p>\n<p><p><strong>Linux\u64cd\u4f5c\u7cfb\u7edf\u7684\u5f00\u6e90\u7279\u6027\u548c\u9ad8\u5ea6\u7684\u53ef\u914d\u7f6e\u6027\u4f7f\u5b83\u6210\u4e3a\u5f00\u53d1\u8005\u7684\u9996\u9009\u73af\u5883<\/strong>\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u8981\u5b89\u88c5\u548c\u914d\u7f6e\u5404\u79cd\u5f00\u53d1\u5de5\u5177\uff0c\u800cGo\u8bed\u8a00\u6b63\u662f\u5176\u4e2d\u4e4b\u4e00\u3002Linux\u7cfb\u7edf\u5bf9\u4e8eGo\u8bed\u8a00\u7684\u652f\u6301\u5341\u5206\u53cb\u597d\uff0cGo\u8bed\u8a00\u7684\u591a\u7ebf\u7a0b\u548c\u5e76\u53d1\u5904\u7406\u7279\u6027\u5728Linux\u4e0a\u7684\u6027\u80fd\u8868\u73b0\u51fa\u8272\u3002\u8fd9\u662f\u56e0\u4e3aLinux\u64cd\u4f5c\u7cfb\u7edf\u672c\u8eab\u5c31\u5177\u6709\u826f\u597d\u7684\u8fdb\u7a0b\u7ba1\u7406\u548c\u8d44\u6e90\u8c03\u5ea6\u673a\u5236\uff0c\u80fd\u591f\u6709\u6548\u5730\u5206\u914d\u8ba1\u7b97\u8d44\u6e90\uff0c\u52a0\u901fGo\u7a0b\u5e8f\u7684\u8fd0\u884c\u3002\u56e0\u6b64\uff0c\u5728Linux\u73af\u5883\u4e0b\u8fdb\u884cGo\u8bed\u8a00\u5f00\u53d1\u4e0d\u4ec5\u80fd\u591f\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\uff0c\u8fd8\u80fd\u591f\u5145\u5206\u53d1\u6325Go\u8bed\u8a00\u5904\u7406\u9ad8\u5e76\u53d1\u4efb\u52a1\u7684\u80fd\u529b\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001GO\u8bed\u8a00\u7279\u70b9<\/h3>\n<\/p>\n<p><p>Go\u8bed\u8a00\u4f5c\u4e3a\u4e00\u4e2a\u73b0\u4ee3\u7f16\u7a0b\u8bed\u8a00\uff0c\u5b83\u5177\u6709\u4ee5\u4e0b\u51e0\u4e2a\u9c9c\u660e\u7684\u7279\u70b9:<\/p>\n<\/p>\n<ul>\n<li><strong>\u7b80\u6d01\u9ad8\u6548<\/strong>\uff1aGo\u8bed\u8a00\u7684\u8bed\u6cd5\u7b80\u6d01\uff0c\u53bb\u9664\u4e86\u5197\u4f59\u7684\u8bed\u6cd5\u5143\u7d20\uff0c\u8ba9\u7a0b\u5e8f\u5458\u80fd\u591f\u76f4\u63a5\u5173\u6ce8\u7a0b\u5e8f\u903b\u8f91\u3002\u540c\u65f6\uff0c\u7531\u4e8e\u5176\u9759\u6001\u7c7b\u578b\u548c\u7f16\u8bd1\u578b\u7684\u7279\u6027\uff0cGo\u7a0b\u5e8f\u4e00\u65e6\u7f16\u8bd1\u5b8c\u6210\uff0c\u6267\u884c\u901f\u5ea6\u975e\u5e38\u5feb\u3002<\/li>\n<li><strong>\u5e76\u53d1\u652f\u6301<\/strong>\uff1aGo\u5185\u7f6e\u4e86Goroutine\u7684\u6982\u5ff5\uff0c\u5b83\u662f\u6bd4\u7ebf\u7a0b\u66f4\u8f7b\u91cf\u7ea7\u7684\u6267\u884c\u5355\u5143\u3002\u5229\u7528Goroutine\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u8f7b\u677e\u5b9e\u73b0\u5e76\u53d1\u7f16\u7a0b\uff0c\u8fd9\u5728\u5904\u7406\u5927\u91cf\u5e76\u884c\u5904\u7406\u4efb\u52a1\u65f6\u8868\u73b0\u5c24\u4e3a\u51fa\u8272\u3002<\/li>\n<li><strong>\u6807\u51c6\u5e93\u4e30\u5bcc<\/strong>\uff1aGo\u8bed\u8a00\u62e5\u6709\u4e30\u5bcc\u7684\u6807\u51c6\u5e93\uff0c\u8986\u76d6\u7f51\u7edc\u7f16\u7a0b\u3001\u6570\u636e\u5904\u7406\u3001\u52a0\u5bc6\u7b97\u6cd5\u7b49\u591a\u4e2a\u9886\u57df\uff0c\u65b9\u4fbf\u5f00\u53d1\u8005\u5feb\u901f\u6784\u5efa\u5e94\u7528\u3002<\/li>\n<\/ul>\n<p><p>\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c<strong>Go\u8bed\u8a00\u7684\u5e76\u53d1\u652f\u6301<\/strong>\u662f\u5176\u4e00\u5927\u4eae\u70b9\u3002\u4f7f\u7528Go\u8bed\u8a00\u8fdb\u884c\u5f00\u53d1\uff0c\u53ef\u4ee5\u5f88\u5bb9\u6613\u5730\u5b9e\u73b0\u5e76\u53d1\u4efb\u52a1\u7684\u5904\u7406\u3002Goroutine\u4f7f\u5f97\u5e76\u53d1\u7f16\u7a0b\u53d8\u5f97\u5f02\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u901a\u8fc7<code>go<\/code>\u5173\u952e\u5b57\u5c31\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5e76\u53d1\u6267\u884c\u6d41\uff0c\u7f16\u5199\u9ad8\u6027\u80fd\u7684\u5e76\u53d1\u7a0b\u5e8f\u3002\u4e0e\u4f20\u7edf\u7ebf\u7a0b\u6a21\u578b\u76f8\u6bd4\uff0cGoroutine\u7684\u5f00\u9500\u6781\u5c0f\uff0c\u53ef\u4ee5\u8f7b\u677e\u521b\u5efa\u6210\u5343\u4e0a\u4e07\u4e2aGoroutine\uff0c\u5e76\u53d1\u6267\u884c\u4e0d\u540c\u7684\u4efb\u52a1\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001LINUX\u73af\u5883\u7684\u4f18\u52bf<\/h3>\n<\/p>\n<p><p>\u5c06Go\u8bed\u8a00\u4e0eLinux\u73af\u5883\u7ed3\u5408\u8d77\u6765\u8fdb\u884c\u8f6f\u4ef6\u5f00\u53d1\uff0c\u53ef\u4ee5\u4eab\u53d7\u5230Linux\u73af\u5883\u7684\u4ee5\u4e0b\u4f18\u52bf:<\/p>\n<\/p>\n<ul>\n<li><strong>\u5f00\u6e90\u548c\u81ea\u7531<\/strong>\uff1aLinux\u4f5c\u4e3a\u4e00\u4e2a\u5f00\u6e90\u7684\u64cd\u4f5c\u7cfb\u7edf\uff0c\u63d0\u4f9b\u4e86\u6781\u5927\u7684\u81ea\u7531\u5ea6\u548c\u7075\u6d3b\u6027\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u6839\u636e\u9700\u8981\u81ea\u5b9a\u4e49\u73af\u5883\uff0c\u5b89\u88c5\u5fc5\u8981\u7684\u5de5\u5177\u548c\u5e93\u3002<\/li>\n<li><strong>\u7a33\u5b9a\u6027\u548c\u5b89\u5168\u6027<\/strong>\uff1aLinux\u7cfb\u7edf\u4ee5\u5176\u7a33\u5b9a\u6027\u548c\u5b89\u5168\u6027\u8457\u79f0\uff0c\u9002\u5408\u5f00\u53d1\u9ad8\u53ef\u7528\u6027\u548c\u5b89\u5168\u6027\u8981\u6c42\u8f83\u9ad8\u7684\u5e94\u7528\u7a0b\u5e8f\u3002Linux\u7684\u5305\u7ba1\u7406\u7cfb\u7edf\u4e5f\u4f7f\u5f97\u5b89\u88c5\u548c\u66f4\u65b0\u8f6f\u4ef6\u53d8\u5f97\u5341\u5206\u7b80\u5355\u548c\u5b89\u5168\u3002<\/li>\n<li><strong>\u5f3a\u5927\u7684\u547d\u4ee4\u884c\u5de5\u5177<\/strong>\uff1aLinux\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u547d\u4ee4\u884c\u5de5\u5177\uff0c\u65b9\u4fbf\u5f00\u53d1\u8005\u8fdb\u884c\u5feb\u901f\u5f00\u53d1\u548c\u8c03\u8bd5\u3002\u8fd9\u4e9b\u5de5\u5177\u53ef\u4ee5\u6709\u6548\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\uff0c\u7b80\u5316\u5f00\u53d1\u6d41\u7a0b\u3002<\/li>\n<\/ul>\n<p><h3>\u4e09\u3001GO\u5f00\u53d1\u73af\u5883\u914d\u7f6e<\/h3>\n<\/p>\n<p><p>\u5728Linux\u73af\u5883\u4e0b\u914d\u7f6eGo\u5f00\u53d1\u73af\u5883\u662f\u5f00\u59cbGo\u8bed\u8a00\u5f00\u53d1\u7684\u7b2c\u4e00\u6b65\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u4e3b\u8981\u5305\u62ec\u4ee5\u4e0b\u51e0\u4e2a\u6b65\u9aa4:<\/p>\n<\/p>\n<ol>\n<li><strong>\u5b89\u88c5Go\u8bed\u8a00\u73af\u5883<\/strong>\uff1a\u53ef\u4ee5\u8bbf\u95eeGo\u8bed\u8a00\u5b98\u7f51\u4e0b\u8f7dLinux\u7248\u672c\u7684Go\u8bed\u8a00\u5b89\u88c5\u5305\uff0c\u901a\u8fc7\u89e3\u538b\u548c\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u7684\u65b9\u5f0f\u5b89\u88c5Go\u8bed\u8a00\u73af\u5883\u3002<\/li>\n<li><strong>\u914d\u7f6e\u5de5\u4f5c\u533a(workspace)<\/strong>\uff1aGo\u8bed\u8a00\u63a8\u8350\u5c06\u6240\u6709\u7684Go\u4ee3\u7801\u653e\u5728\u4e00\u4e2a\u5de5\u4f5c\u533a\u5185\uff0c\u5e76\u901a\u8fc7<code>GOPATH<\/code>\u73af\u5883\u53d8\u91cf\u6307\u5b9a\u8fd9\u4e2a\u5de5\u4f5c\u533a\u7684\u4f4d\u7f6e\u3002<\/li>\n<\/ol>\n<p><p>\u5b89\u88c5\u597dGo\u8bed\u8a00\u73af\u5883\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528<code>go version<\/code>\u547d\u4ee4\u68c0\u67e5\u5b89\u88c5\u662f\u5426\u6210\u529f\u3002\u914d\u7f6e\u597d\u5de5\u4f5c\u533a\u4e4b\u540e\uff0c\u5c31\u53ef\u4ee5\u5f00\u59cb\u8fdb\u884cGo\u8bed\u8a00\u7684\u9879\u76ee\u5f00\u53d1\u4e86\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u5f00\u53d1\u5b9e\u8df5<\/h3>\n<\/p>\n<p><p>\u8fdb\u884cGo\u8bed\u8a00\u5f00\u53d1\u65f6\uff0c\u53ef\u4ee5\u9075\u5faa\u4ee5\u4e0b\u6700\u4f73\u5b9e\u8df5\u6765\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u548c\u7a0b\u5e8f\u8d28\u91cf:<\/p>\n<\/p>\n<ul>\n<li><strong>\u4ee3\u7801\u98ce\u683c\u9075\u5faaGo\u8bed\u8a00\u5b98\u65b9\u89c4\u8303<\/strong>\uff1aGo\u8bed\u8a00\u6709\u4e00\u5957\u81ea\u5df1\u7684\u7f16\u7801\u89c4\u8303\uff0c\u4f8b\u5982\u683c\u5f0f\u5316\u4ee3\u7801\u53ef\u4ee5\u4f7f\u7528<code>gofmt<\/code>\u5de5\u5177\u3002\u9075\u5faa\u8fd9\u4e9b\u89c4\u8303\u53ef\u4ee5\u4f7f\u4ee3\u7801\u66f4\u52a0\u7edf\u4e00\u548c\u53ef\u8bfb\u3002<\/li>\n<li><strong>\u5145\u5206\u5229\u7528Go\u8bed\u8a00\u7684\u5e76\u53d1\u7279\u6027<\/strong>\uff1a\u5728\u8bbe\u8ba1\u7a0b\u5e8f\u65f6\uff0c\u5e94\u8003\u8651\u5982\u4f55\u5408\u7406\u5730\u4f7f\u7528Goroutine\u548cChannel\u8fdb\u884c\u5e76\u53d1\u7f16\u7a0b\uff0c\u4ee5\u53d1\u6325Go\u8bed\u8a00\u5728\u5e76\u53d1\u5904\u7406\u65b9\u9762\u7684\u4f18\u52bf\u3002<\/li>\n<\/ul>\n<p><p>\u901a\u8fc7\u5728Linux\u73af\u5883\u4e0b\u5229\u7528Go\u8bed\u8a00\u7684\u7279\u6027\u548c\u4f18\u52bf\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u6784\u5efa\u9ad8\u6548\u3001\u53ef\u9760\u7684\u8f6f\u4ef6\u7cfb\u7edf\u3002\u65e0\u8bba\u662f\u4e91\u670d\u52a1\u3001\u7f51\u7edc\u670d\u52a1\u8fd8\u662f\u7cfb\u7edf\u5de5\u5177\uff0cGo\u8bed\u8a00\u914d\u5408Linux\u73af\u5883\u90fd\u80fd\u63d0\u4f9b\u5f3a\u5927\u7684\u5f00\u53d1\u80fd\u529b\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1.  Linux\u73af\u5883\u4e0bGo\u8bed\u8a00\u5f00\u53d1\u6709\u4ec0\u4e48\u4f18\u52bf\uff1f<\/strong><br \/>\nLinux\u64cd\u4f5c\u7cfb\u7edf\u88ab\u5e7f\u6cdb\u7528\u4e8e\u670d\u52a1\u5668\u548c\u5d4c\u5165\u5f0f\u8bbe\u5907\uff0c\u800cGo\u8bed\u8a00\u4f5c\u4e3a\u4e00\u79cd\u9ad8\u6548\u3001\u53ef\u9760\u4e14\u6613\u4e8e\u7f16\u5199\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u5177\u6709\u4e0eLinux\u73af\u5883\u5b8c\u7f8e\u5951\u5408\u7684\u4f18\u52bf\u3002\u901a\u8fc7\u5728Linux\u73af\u5883\u4e2d\u4f7f\u7528Go\u8bed\u8a00\u5f00\u53d1\uff0c\u60a8\u53ef\u4ee5\u5145\u5206\u5229\u7528Linux\u7684\u7a33\u5b9a\u6027\u548c\u9ad8\u53ef\u9760\u6027\uff0c\u5e76\u4e14\u53ef\u4ee5\u5229\u7528Go\u8bed\u8a00\u7684\u5e76\u53d1\u6027\u80fd\u4f18\u52bf\u6765\u5f00\u53d1\u9ad8\u6548\u7684\u670d\u52a1\u5668\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p><strong>2. \u5982\u4f55\u5728Linux\u73af\u5883\u4e2d\u8bbe\u7f6eGo\u8bed\u8a00\u5f00\u53d1\u73af\u5883\uff1f<\/strong><br \/>\n\u5728Linux\u73af\u5883\u4e2d\u8bbe\u7f6eGo\u8bed\u8a00\u5f00\u53d1\u73af\u5883\u975e\u5e38\u7b80\u5355\u3002\u9996\u5148\uff0c\u60a8\u9700\u8981\u4e0b\u8f7d\u5e76\u5b89\u88c5Go\u8bed\u8a00\u7684\u4e8c\u8fdb\u5236\u53d1\u884c\u7248\u672c\uff0c\u5e76\u5c06\u5176\u6dfb\u52a0\u5230\u60a8\u7684\u73af\u5883\u53d8\u91cf\u4e2d\u3002\u63a5\u4e0b\u6765\uff0c\u60a8\u53ef\u4ee5\u9009\u62e9\u4e00\u4e2a\u9002\u5408\u60a8\u7684\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u6216\u8005\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u6765\u7f16\u5199Go\u4ee3\u7801\u3002\u6700\u540e\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4\u884c\u5de5\u5177\u6765\u7f16\u8bd1\u548c\u8fd0\u884c\u60a8\u7684Go\u7a0b\u5e8f\u3002<\/p>\n<p><strong>3. Linux\u73af\u5883\u4e0b\u53ef\u4ee5\u7528Go\u8bed\u8a00\u5f00\u53d1\u54ea\u4e9b\u5e94\u7528\uff1f<\/strong><br \/>\nLinux\u73af\u5883\u4e0b\u53ef\u4ee5\u4f7f\u7528Go\u8bed\u8a00\u5f00\u53d1\u5404\u79cd\u7c7b\u578b\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u7531\u4e8eGo\u8bed\u8a00\u5177\u6709\u9ad8\u6548\u7684\u5e76\u53d1\u6027\u80fd\u548c\u7b80\u5355\u7684\u8bed\u6cd5\uff0c\u56e0\u6b64\u5b83\u975e\u5e38\u9002\u7528\u4e8e\u5f00\u53d1\u9ad8\u6027\u80fd\u7684\u670d\u52a1\u5668\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f8b\u5982\u7f51\u7edc\u670d\u52a1\u5668\u3001\u5fae\u670d\u52a1\u6216\u8005\u5206\u5e03\u5f0f\u5e94\u7528\u3002\u6b64\u5916\uff0cGo\u8bed\u8a00\u8fd8\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u5e93\u548c\u5de5\u5177\uff0c\u4f7f\u5176\u975e\u5e38\u9002\u5408\u5f00\u53d1\u7cfb\u7edf\u5de5\u5177\u3001\u547d\u4ee4\u884c\u5e94\u7528\u7a0b\u5e8f\u3001\u7f51\u7edc\u722c\u866b\u7b49\u3002\u65e0\u8bba\u60a8\u662f\u8981\u5f00\u53d1\u4e00\u4e2a\u7b80\u5355\u7684\u547d\u4ee4\u884c\u5de5\u5177\u8fd8\u662f\u4e00\u4e2a\u590d\u6742\u7684\u5206\u5e03\u5f0f\u5e94\u7528\uff0cGo\u8bed\u8a00\u5728Linx\u73af\u5883\u4e2d\u90fd\u662f\u4e00\u4e2a\u975e\u5e38\u5f3a\u5927\u548c\u7075\u6d3b\u7684\u9009\u62e9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Linux\u73af\u5883\u4e0bGo\u8bed\u8a00\u5f00\u53d1\u662f\u6307\u5728Linux\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u4f7f\u7528Go\u8bed\u8a00\u8fdb\u884c\u8f6f\u4ef6\u6216\u5e94\u7528\u7a0b\u5e8f\u7684\u8bbe\u8ba1\u548c\u7f16\u7801\u3002Go\u8bed\u8a00\uff08\u4e5f [&hellip;]","protected":false},"author":3,"featured_media":165250,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/165229"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=165229"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/165229\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/165250"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=165229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=165229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=165229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}