{"id":321282,"date":"2023-02-07T08:00:00","date_gmt":"2023-02-07T07:00:00","guid":{"rendered":"https:\/\/blog.jetbrains.com\/?post_type=go&#038;p=321282"},"modified":"2023-02-06T11:43:39","modified_gmt":"2023-02-06T10:43:39","slug":"what-s-new-in-go-the-developer-ecosystem-report-2022","status":"publish","type":"go","link":"https:\/\/blog.jetbrains.com\/zh-hans\/go\/2023\/02\/07\/what-s-new-in-go-the-developer-ecosystem-report-2022\/","title":{"rendered":"Go \u6700\u65b0\u52a8\u6001\uff1a2022 \u5f00\u53d1\u8005\u751f\u6001\u7cfb\u7edf\u62a5\u544a"},"content":{"rendered":"<p>\u6bcf\u5e74\uff0cJetBrains \u90fd\u4f1a\u5411\u4e16\u754c\u5404\u5730\u6210\u5343\u4e0a\u4e07\u7684\u5f00\u53d1\u8005\u8be2\u95ee\u6709\u5173\u7f16\u7a0b\u8bed\u8a00\u4f7f\u7528\u7684\u95ee\u9898\u3002 \u6211\u4eec\u968f\u540e\u4f1a\u53d1\u5e03\u4e0d\u540c\u793e\u533a\u7684\u8d8b\u52bf\uff0c\u5305\u62ec Go \u751f\u6001\u7cfb\u7edf\u3002<\/p>\n<p>\u4eca\u5929\uff0c\u6211\u4eec\u5f88\u9ad8\u5174\u5206\u4eab\u300a2022 \u5f00\u53d1\u8005\u751f\u6001\u7cfb\u7edf\u73b0\u72b6\u300b\u62a5\u544a\uff01<\/p>\n<p align=\"center\"><a class=\"jb-download-button\" href=\"https:\/\/www.jetbrains.com\/lp\/devecosystem-2022\/go\/\" target=\"_blank\" rel=\"noopener\">\u6d4f\u89c8\u300a2022 \u5f00\u53d1\u8005\u751f\u6001\u7cfb\u7edf\u73b0\u72b6\u300b\u62a5\u544a<\/a><\/p>\n<p>\u5728\u8fd9\u7bc7\u535a\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u6df1\u5165\u63a2\u8ba8 Go \u7684\u76f8\u5173\u8d8b\u52bf\u3002 \u6211\u4eec\u9080\u8bf7\u4e86\u4e09\u4f4d\u793e\u533a\u6210\u5458\u5e2e\u52a9\u6211\u4eec\u5206\u6790\u7ed3\u679c\uff1a<\/p>\n<div class=\"about-author \">\n<div class=\"about-author__box\">\n<div class=\"row\">\n<div class=\"about-author__box-img\"><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/6950331.jpeg\" alt=\"\"><\/div>\n<div class=\"about-author__box-text\">\n<h4>Bartlomiej Plotka<\/h4>\n<p><span style=\"font-weight: 400;\">Prometheus \u7ef4\u62a4\u8005\uff0c\u201c<\/span><a href=\"https:\/\/www.bwplotka.dev\/2022\/efficient-go2\/\" target=\"_blank\" rel=\"nofollow noopener\"><span style=\"font-weight: 400;\">Efficient Go<\/span><\/a><span style=\"font-weight: 400;\">\u201d \u4f5c\u8005\u3002<\/span><\/p>\n<p><a href=\"https:\/\/github.com\/bwplotka\" target=\"_blank\" rel=\"nofollow noopener\">GitHub<\/a> | <a href=\"https:\/\/www.bwplotka.dev\" target=\"_blank\" rel=\"nofollow noopener\">\u7f51\u7ad9<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"about-author \">\n<div class=\"about-author__box\">\n<div class=\"row\">\n<div class=\"about-author__box-img\"><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/qQuFPg2W_400x400.jpeg\" alt=\"\"><\/div>\n<div class=\"about-author__box-text\">\n<h4>Carolyn Van Slyck<\/h4>\n<p><a href=\"http:\/\/getporter.org\" target=\"_blank\" rel=\"nofollow noopener\"><span style=\"font-weight: 400;\">Porter<\/span><\/a><span style=\"font-weight: 400;\"> \u7ef4\u62a4\u8005\uff0c\u8fd0\u8425 <\/span><a href=\"http:\/\/womenwhogo.org\" target=\"_blank\" rel=\"nofollow noopener\"><span style=\"font-weight: 400;\">Women Who Go<\/span><\/a>\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/carolynvs\" target=\"_blank\" rel=\"nofollow noopener\">GitHub<\/a> | <a href=\"https:\/\/carolynvanslyck.com\" target=\"_blank\" rel=\"nofollow noopener\">\u7f51\u7ad9<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"about-author \">\n<div class=\"about-author__box\">\n<div class=\"row\">\n<div class=\"about-author__box-img\"><img decoding=\"async\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/15986659.jpeg\" alt=\"\"><\/div>\n<div class=\"about-author__box-text\">\n<h4>Michael Gasch<\/h4>\n<p><span style=\"font-weight: 400;\">AWS \u7684 EventBridge \u4ea7\u54c1\u7ecf\u7406\u3002<\/span><\/p>\n<p><a href=\"https:\/\/github.com\/embano1\" target=\"_blank\" rel=\"nofollow noopener\">GitHub<\/a> | <a href=\"https:\/\/www.mgasch.com\/\" target=\"_blank\" rel=\"nofollow noopener\">\u7f51\u7ad9<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h2>Go \u4f01\u4e1a\u65b9\u5411<\/h2>\n<p>Go \u663e\u7136\u662f\u53ef\u7528\u4e8e\u751f\u4ea7\u7684\u8bed\u8a00\u3002 \u8bb8\u591a\u5927<a href=\"https:\/\/go.dev\/solutions\/#case-studies\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">\u516c\u53f8<\/a>\u90fd\u5728\u751f\u4ea7\u4e2d\u4f7f\u7528 Go\uff0c\u800c\u4e14\u8fd9\u4e2a\u540d\u5355\u6bcf\u5e74\u90fd\u5728\u5ef6\u957f\u3002<\/p>\n<p>\u6839\u636e JetBrains \u7684\u7814\u7a76\uff0c\u5728\u5de5\u4f5c\u76f8\u5173\u9879\u76ee\u4e2d\u4f7f\u7528 Go \u7684\u5f00\u53d1\u8005\u6bd4\u4f8b\u4ece 61% \u589e\u957f\u5230 64%\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-311631\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/work-hobby.png\" alt=\"\" width=\"2152\" height=\"946\"><\/figure>\n<p>\u5f00\u53d1\u8005\u751f\u6001\u7cfb\u7edf\u6570\u636e\u4e0e Go \u56e2\u961f\u53d1\u8d77\u7684\u8c03\u67e5\u8f83\u4e3a\u4e00\u81f4\u3002 \u4ed6\u4eec\u7684\u6570\u636e\u663e\u793a\uff0c\u5728\u5de5\u4f5c\u4e2d\u4ece\u4e8b gopher \u7f16\u7a0b\u7684\u6bd4\u4f8b\u4ece 2016 \u5e74\u7684 <a href=\"https:\/\/go.dev\/blog\/survey2016-results\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">66%<\/a> \u589e\u52a0\u5230 2021 \u5e74\u7684 <a href=\"https:\/\/go.dev\/blog\/survey2022q2\/where.svg\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">78%<\/a>\uff08Go \u56e2\u961f\u4f7f\u7528\u591a\u9879\u9009\u62e9\u9898\u8861\u91cf\u8fd9\u4e00\u6307\u6807\uff09\u3002<\/p>\n<p><strong>\u4e13\u5bb6\u5206\u6790<\/strong><\/p>\n<p><strong>Bartlomiej<\/strong>\uff1a\u201c\u5f88\u9ad8\u5174\u770b\u5230 Go \u5728\u751f\u4ea7\u7cfb\u7edf\u4e2d\u7684\u4f7f\u7528\u8d8a\u6765\u8d8a\u591a\uff01 \u5b83\u8868\u660e\u4e86\u4eba\u4eec\u5bf9\u8bed\u8a00\u7684\u4fe1\u4efb\uff0c\u4ee5\u53ca\u66f4\u9ad8\u7684\u91c7\u7528\u7387\u3002\u201d<\/p>\n<p><strong>Michael<\/strong>\uff1a\u201c\u5f88\u9ad8\u5174\u770b\u5230 Go \u5728\u5de5\u4f5c\u4e2d\u5f97\u5230\u8d8a\u6765\u8d8a\u591a\u7684\u91c7\u7528\uff0c\u7279\u522b\u662f\u5728\u4f01\u4e1a\u4e2d\uff01 \u8fd9\u4e5f\u610f\u5473\u7740\u8bed\u8a00\u53ca\u5176\u751f\u6001\u7cfb\u7edf\u6536\u83b7\u4e86\u66f4\u591a\u4fe1\u4efb\u3002 Go \u56e2\u961f\u548c Sigstore \u7b49\u793e\u533a\u4ee5\u53ca Cloud Native Computing Foundation \u6b63\u5728\u4e3a\u5b89\u5168\u6027\uff08\u4f9b\u5e94\u94fe\uff09\u3001\u53ef\u7528\u6027\uff08\u5de5\u5177\uff09\u548c\u4e00\u81f4\u6027\uff08\u8f7b\u677e\u9605\u8bfb\/\u91c7\u7528\u4ee3\u7801\u5e93\uff09\u6811\u7acb\u66f4\u9ad8\u6807\u51c6\uff0c\u8fd9\u8ba9\u6211\u975e\u5e38\u5174\u594b\u3002 \u53ef\u4ee5\u80af\u5b9a\u7684\u662f\uff0c\u968f\u7740 Go \u53d6\u4ee3\u4f01\u4e1a\u548c ISV\/\u4e91\u7a7a\u95f4\u4e2d\u7684\u66f4\u591a\u9057\u7559\u4ee3\u7801\u5e93\uff0c\u6211\u4eec\u4f1a\u5728\u672a\u6765\u51e0\u5e74\u770b\u5230\u8fd9\u4e2a\u6570\u5b57\u8fdb\u4e00\u6b65\u4e0a\u5347\u3002\u201d<\/p>\n<h2>Go \u6a21\u5757<\/h2>\n<p>\u6a21\u5757\u7684\u6982\u5ff5 \u2013 Go \u7684\u4f9d\u8d56\u9879\u7ba1\u7406\u7cfb\u7edf \u2013 \u51fa\u73b0\u5728 2018 \u5e74\u5e74\u4e2d\u3002 1.11 \u7248\u672c<a href=\"https:\/\/go.dev\/blog\/go1.11\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">\u6dfb\u52a0<\/a>\u4e86\u5bf9\u6a21\u5757\u7684\u521d\u6b65\u652f\u6301\u3002<\/p>\n<p>\u6700\u65b0\u6570\u636e\u663e\u793a\uff0c87% \u7684 Go \u5f00\u53d1\u8005\u4f7f\u7528\u6a21\u5757\u4f5c\u4e3a\u4f9d\u8d56\u9879\u7ba1\u7406\u7cfb\u7edf\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-311642\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/go-modules.png\" alt=\"\" width=\"1542\" height=\"1218\"><\/figure>\n<p><strong>\u4e13\u5bb6\u5206\u6790<\/strong><\/p>\n<p><strong>Michael<\/strong>\uff1a\u201c\u770b\u5230\u5927\u7ea6 10% \u7684\u5f00\u53d1\u8005\u8fd8\u5728\u4f7f\u7528\u5927\u4f53\u4e0a\u5df2\u88ab\u5f03\u7528\u7684\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668\uff0c\u6211\u6709\u70b9\u60ca\u8bb6\u3002 \u6211\u731c\u8fd9\u662f\u56e0\u4e3a\u5728\u65e7\u7684\u4ee3\u7801\u5e93\/\u9879\u76ee\u6216\u5de5\u4f5c\u9879\u76ee\u4e2d\uff0c\u5de5\u5177\u65e0\u6cd5\u8f7b\u6613\u66f4\u6539\u3002\u201d<\/p>\n<p><strong>Bartlomiej<\/strong>\uff1a\u201c\u5f88\u9ad8\u5174\u770b\u5230\u5927\u591a\u6570\u7528\u6237\u4f7f\u7528\u5feb\u901f\u6210\u4e3a\u6807\u51c6\u7684 Go \u6a21\u5757\u3002 \u5bf9\u4e8e\u5c1a\u672a\u4f7f\u7528\u5b83\u7684\u7528\u6237\uff0c\u6211\u5efa\u8bae\u5c3d\u5feb\u5207\u6362\uff0c\u56e0\u4e3a\u6709\u8bb8\u591a\u521b\u65b0\u662f\u4ee5 Go \u6a21\u5757\u4e3a\u57fa\u7840\uff0c\u4f8b\u5982\u9ad8\u7ea7\u5b89\u5168\u6216\u8bb8\u53ef\u8bc1\u626b\u63cf\u4eea\u3001<a href=\"https:\/\/github.com\/bwplotka\/bingo\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">\u53ef\u9760\u7684\u5de5\u5177\u5b89\u88c5<\/a>\u7b49\u3002 \u67e5\u770b\u8fd9\u7bc7<a href=\"https:\/\/go.dev\/blog\/using-go-modules\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">\u7cbe\u5f69\u6307\u5357<\/a>\u66f4\u597d\u5730\u7406\u89e3 Go \u6a21\u5757\u3002\u201d<\/p>\n<h2>Vendoring<\/h2>\n<p>Go \u4e2d\u7684 <a href=\"https:\/\/go.dev\/ref\/mod#vendoring\" target=\"_blank\" rel=\"noreferrer noopener\">vendoring<\/a> \u662f\u6307\u4e3a\u7279\u5b9a\u9879\u76ee\u6240\u9700\u7684\u6240\u6709\u4f9d\u8d56\u9879\u5236\u4f5c\u81ea\u5df1\u7684\u672c\u5730\u526f\u672c\uff0c\u5e76\u5c06\u6b64\u526f\u672c\u5305\u542b\u5728\u6587\u4ef6\u6811\u4e2d\u3002 \u8fd9\u79cd\u65b9\u6cd5\u6709\u5b83\u7684<a href=\"https:\/\/www.ardanlabs.com\/blog\/2020\/04\/modules-06-vendoring.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">\u4f18\u70b9<\/a> \u2013 \u4f7f\u7528 vendoring \u65f6\uff0c\u9879\u76ee\u5c06\u62e5\u6709\u6784\u5efa\u5e94\u7528\u6240\u9700\u7684\u6240\u6709\u4ee3\u7801\u3002 \u6bcf\u6b21\u6784\u5efa\u9879\u76ee\uff0c\u5f97\u5230\u7684\u90fd\u662f\u5b8c\u5168\u76f8\u540c\u7684\u4e8c\u8fdb\u5236\u6587\u4ef6\u3002 \u56e0\u6b64\uff0c\u60a8\u4e0d\u5fc5\u4ece\u5916\u90e8\u6e90\u4e0b\u8f7d\u4f9d\u8d56\u9879\u3002 \u4f46 vendoring \u4e5f\u6709\u7f3a\u70b9\u3002<\/p>\n<p>\u4f7f\u7528 vendoring \u7684\u5f00\u53d1\u8005\u6bd4\u4f8b\u4ece <a href=\"https:\/\/www.jetbrains.com\/zh-cn\/lp\/devecosystem-2022\/go\/#do-you-use-vendoring-in-your-project-two-years\" target=\"_blank\" rel=\"noopener\">46%<\/a> \u4e0b\u964d\u5230 41%\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-313128\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/vendoring-1.png\" alt=\"\" width=\"1792\" height=\"586\"><\/figure>\n<p><strong>\u4e13\u5bb6\u5206\u6790<\/strong><\/p>\n<p><strong>Bartlomiej<\/strong>\uff1a\u201c\u5f88\u9ad8\u5174\u770b\u5230 vendoring \u4e0d\u90a3\u4e48\u53d7\u6b22\u8fce\u4e86\u3002 \u5b83\u4f1a\u6df7\u6dc6\u6e90\u4ee3\u7801\u4ed3\u5e93\uff0c\u4f7f\u5efa\u8bae\u7684\u4ee3\u7801\u66f4\u6539\u96be\u4ee5\u5ba1\u67e5\u3002 \u5b83\u8fd8\u4f7f\u5f00\u53d1\u8005\u5728\u6784\u5efa\u786e\u4fdd\u4f9d\u8d56\u9879\u7f13\u5b58\u548c\u53ef\u9760\u6027\u7684\u4e13\u7528\u89e3\u51b3\u65b9\u6848\u65f6\u66f4\u52a0\u61d2\u60f0\u3002 \u5728\u67d0\u79cd\u7a0b\u5ea6\u4e0a\uff0cGo \u6a21\u5757\u7684\u666e\u53ca\u8ba9\u5f00\u53d1\u8005\u53ef\u4ee5\u6446\u8131 vendoring\uff0c\u56e0\u4e3a Go \u6a21\u5757\u5e26\u6765\u7684\u53ef\u9760\u6027\u548c\u5c01\u95ed\u6784\u5efa\uff0c\u8fd9\u8981\u5f52\u529f\u4e8e Go \u4ee3\u7406\u548c go.sum \u7b49\u5176\u4ed6\u673a\u5236\u3002\u201d<\/p>\n<p><strong>Michael<\/strong>\uff1a\u201c\u6211\u8ba4\u4e3a Go \u6a21\u5757\u53ca\u5176\u5206\u53d1\u3001\u7ba1\u7406\u548c\u9a8c\u8bc1\u8f6f\u4ef6\u5305\u7684\u65b9\u5f0f\uff08\u4f46\u8981\u6ce8\u610f <a href=\"https:\/\/en.wikipedia.org\/wiki\/Trust_on_first_use\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">TOFU<\/a>\uff09\u5c06\u8fdb\u4e00\u6b65\u51cf\u5c11\u5bf9 vendor Go \u9879\u76ee\u7684\u9700\u6c42\u3002\u201d<\/p>\n<h2>\u6709\u591a\u5c11\u4f9d\u8d56\u9879\uff1f<\/h2>\n<p>\u4f9d\u8d56\u9879\u88ab\u8bb8\u591a\u5f00\u53d1\u8005\u89c6\u4e3a\u5fc5\u8981\u4e4b\u6076\u3002 \u8bf4\u5b83\u662f\u5fc5\u8981\u7684\uff0c\u662f\u56e0\u4e3a\u6ca1\u6709\u7b2c\u4e09\u65b9\u8f6f\u4ef6\u5305\uff0c\u5c31\u65e0\u6cd5\u6784\u5efa\u4e00\u4e2a\u72ec\u7279\u7684\u73b0\u4ee3\u5e94\u7528\u3002\u8bf4\u5b83\u662f\u90aa\u6076\u7684\uff0c\u662f\u56e0\u4e3a\u6280\u672f\u603b\u5728\u53d8\u5316\uff0c\u5927\u91cf\u4f9d\u8d56\u9879\u4f1a\u5a01\u80c1\u5230\u9879\u76ee\u7684\u7a33\u5b9a\u6027\u3002<\/p>\n<p>\u53ea\u6709\u4e94\u5206\u4e4b\u4e00\u7684 Go \u5f00\u53d1\u8005\u5728\u9879\u76ee\u4e2d\u6709\u5c11\u4e8e 5 \u4e2a\u4f9d\u8d56\u9879\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-311733\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/dependencies.png\" alt=\"\" width=\"1988\" height=\"1010\"><\/figure>\n<p><strong>\u4e13\u5bb6\u5206\u6790<\/strong><\/p>\n<p><strong>Carolyn<\/strong>\uff1a\u201c\u6211\u5f88\u559c\u6b22\u7684\u4e00\u70b9\u662f\uff0cGo \u4f1a\u66f4\u65b0 <code>go.mod<\/code> \u683c\u5f0f\u6765\u5305\u542b\u76f4\u63a5\u548c\u95f4\u63a5\u4f9d\u8d56\u9879\u3002 \u6211\u8d77\u521d\u4ee5\u4e3a\u81ea\u5df1\u7684\u4f9d\u8d56\u9879\u6570\u91cf\u5b8c\u5168\u6b63\u5e38\uff0c\u540e\u6765\u624d\u53d1\u73b0\u5b9e\u9645\u6570\u91cf\u6709 4 \u500d\u591a\uff01\u201d<\/p>\n<p><strong>Michael<\/strong>\uff1a\u201c\u4ed4\u7ec6\u7ba1\u7406\u548c\u9a8c\u8bc1\u4f9d\u8d56\u9879\u5bf9\u6bcf\u4f4d\u5f00\u53d1\u8005\u4ee5\u53ca\u5b89\u5168\u3001\u8fd0\u8425\u548c\u5176\u4ed6\u56e2\u961f\u6765\u8bf4\u90fd\u662f\u4e00\u4e2a\u5de8\u5927\u7684\u8d1f\u62c5\u3002 \u611f\u8c22 Go \u6838\u5fc3\u56e2\u961f\u548c Sigstore \u793e\u533a\u8ba9\u6211\u4eec\u5904\u4e8e\u6700\u4f73\u4f4d\u7f6e\uff0c\u5c06\u4f9b\u5e94\u94fe\u7ba1\u7406\u7684\u590d\u6742\u6027\u8f6c\u79fb\u5230\u5e73\u53f0\/\u5de5\u5177\u4e0a\uff0c\u800c\u4e0d\u662f\u7559\u7ed9\u538b\u529b\u5de8\u5927\u7684\u5f00\u53d1\u8005\u3002\u201d<\/p>\n<h2>\u591a\u4e2a Go \u7248\u672c<\/h2>\n<p>\u4eba\u4eec\u5e38\u8bf4 Go \u7684\u5411\u540e\u517c\u5bb9\u5f88\u68d2\uff0c\u4f46\u4f3c\u4e4e\u5e76\u4e0d\u662f\u6bcf\u4e2a\u4eba\u90fd\u80fd\u4f7f\u7528\u6700\u65b0\u7248\u672c\u3002 \u540c\u65f6\u4f7f\u7528\u591a\u4e2a\u7248\u672c\u7684\u5f00\u53d1\u8005\u6bd4\u4f8b\u4ece <a href=\"https:\/\/www.jetbrains.com\/zh-cn\/lp\/devecosystem-2022\/go\/#do-you-use-multiple-versions-of-go-at-the-same-time-two-years\" target=\"_blank\" rel=\"noopener\">23%<\/a> \u589e\u52a0\u5230 32%\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-313093\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/multiple.png\" alt=\"\" width=\"1658\" height=\"724\"><\/figure>\n<p><strong>\u4e13\u5bb6\u5206\u6790<\/strong><\/p>\n<p><strong>Bartlomiej<\/strong>\uff1a\u201cGo \u793e\u533a\u548c Google Go \u56e2\u961f\u6bcf\u5e74\u53d1\u5e03\u4e24\u6b21\u6b21\u8981\u7248\u672c\u4ee5\u53ca\u8bb8\u591a\u8865\u4e01\uff0c\u4ee5\u4e0d\u65ad\u6539\u8fdb Go\u3002 \u968f\u7740\u91c7\u7528\u7387\u7684\u63d0\u9ad8\uff0c\u603b\u4f1a\u6709\u4e00\u4e9b\u9879\u76ee\u65e0\u6cd5\u8d76\u4e0a\u6700\u65b0\u7248\u672c\u7684 Go\u3002\u201d<\/p>\n<p><strong>Michael<\/strong>\uff1a\u201c\u867d\u7136 1.x.0 Go \u7248\u672c\u975e\u5e38\u53ef\u9760\uff0c\u4f46\u6211\u901a\u5e38\u8fd8\u662f\u4f1a\u7acb\u5373\u5c06\u9879\u76ee\u8fc1\u79fb\u5230\u65b0\u7248\u672c\u3002 \u7136\u800c\uff0c\u5bf9\u4e8e\u4e13\u4e1a\u7528\u9014\uff0c\u6211\u5c06 CI \u8bbe\u7f6e\u4e3a\u81f3\u5c11\u8fd0\u884c 2 \u4e2a\uff08\u901a\u5e38\u662f 3 \u4e2a\uff09\u4e0d\u540c\u7684\u7248\u672c\uff0c\u68c0\u6d4b\u8d21\u732e\u8005\u4f55\u65f6\u5f15\u5165\u65b0\u7684\u8bed\u8a00\u529f\u80fd\u5e76\u6355\u6349\u5176\u4ed6\u56de\u5f52 \u2013 \u6027\u80fd\u3001\u4f9d\u8d56\u9879\u7b49\u3002 \u6240\u4ee5\u6211\u5b9e\u9645\u4e0a\u5c5e\u4e8e\u4e24\u4e2a\u9635\u8425\uff1a\u672c\u5730\u5f00\u53d1\u53ea\u6709\u4e00\u4e2a\u7248\u672c\uff0cCI \u5219\u6709\u591a\u4e2a\u3002\u201d<\/p>\n<h2>Go \u548c\u5176\u4ed6\u8bed\u8a00<\/h2>\n<p>JavaScript\u3001Python \u548c TypeScript \u662f\u5728\u5355\u4e2a\u9879\u76ee\u4e2d\u4e0e Go \u4e00\u8d77\u4f7f\u7528\u7684\u6700\u6d41\u884c\u7684\u8bed\u8a00\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-311664\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/other-languages.png\" alt=\"\" width=\"1808\" height=\"952\"><\/figure>\n<p><strong>\u4e13\u5bb6\u5206\u6790<\/strong><\/p>\n<p><strong>Michael<\/strong>\uff1a\u201c\u6700\u521d\u770b\u5230 TypeScript \u7684\u4efd\u989d\u5982\u6b64\u4e4b\u9ad8\uff0c\u6211\u6709\u70b9\u60ca\u8bb6\u3002 \u4f46\u6211\u731c \u2013 \u5b8c\u5168\u57fa\u4e8e\u6211\u81ea\u5df1\u7684\u7ecf\u9a8c \u2013 \u53ea\u8981\u4f53\u9a8c\u5230\u50cf Go \u8fd9\u6837\u7684\u7c7b\u578b\u5b89\u5168\u548c\u9759\u6001\u7f16\u8bd1\u8bed\u8a00\u7684\u4e50\u8da3\uff0c\u5927\u591a\u6570 Go \u548c\u5176\u4ed6\u5f00\u53d1\u8005\u90fd\u4f1a\u4f7f\u7528 TypeScript \u800c\u4e0d\u662f JavaScript\u3002 \u6240\u4ee5\u6211\u60f3\uff0c\u6211\u4eec\u4f1a\u770b\u5230\u8fd9\u4e2a\u6570\u5b57\u5728\u672a\u6765\u51e0\u5e74\u7ee7\u7eed\u4e0a\u5347\u3002\u201d<\/p>\n<p><strong>Bartlomiej<\/strong>\uff1a\u201c\u7531\u4e8e Go \u5927\u91cf\u7528\u4e8e\u6784\u5efa\u7aef\u5230\u7aef\u89e3\u51b3\u65b9\u6848\uff0c\u770b\u5230 60% \u7684\u7528\u6237\u4f7f\u7528 JavaScript \u548c TypeScript \u7b49\u524d\u7aef\u8bed\u8a00\u5e76\u4e0d\u8ba9\u4eba\u611f\u5230\u610f\u5916\u3002 \u7531\u4e8e\u5355\u4ed3\u5e93\u5f88\u6d41\u884c\uff0c\u5c06\u5176\u4ed6\u8bed\u8a00\u6df7\u5408\u5230\u5355\u4e2a\u9879\u76ee\u4e2d\u5e76\u4e0d\u5c11\u89c1\u3002 \u7ed3\u679c\u8868\u660e\uff0c\u8d85\u8fc7 40% \u662f\u5728\u67d0\u79cd\u5355\u4ed3\u5e93\u98ce\u683c\u7684\u9879\u76ee\u4e0a\u5de5\u4f5c\u3002\u201d<\/p>\n<h2>Web \u6846\u67b6<\/h2>\n<p>\u5728 Web \u5f00\u53d1\u65b9\u9762\uff0cGo \u4ee5\u5176\u51fa\u8272\u7684\u6807\u51c6\u5e93\u800c\u95fb\u540d\u3002 \u6709\u65f6\uff0c\u6765\u81ea\u5176\u4ed6\u8bed\u8a00\u7684\u5f00\u53d1\u8005\u4f1a\u5728 Reddit \u4e0a\u8be2\u95ee\u5e94\u8be5\u4f7f\u7528\u4ec0\u4e48 Web \u6846\u67b6\uff0c\u7b54\u6848\u901a\u5e38\u662f\u201c\u4f7f\u7528\u6807\u51c6\u5e93\u201d\u6216\u8005\u201c\u6784\u5efa\u81ea\u5df1\u7684\u6846\u67b6\u201d\u3002<\/p>\n<p>\u5c3d\u7ba1\u5982\u6b64\uff0c\u8fd8\u662f\u6709\u5f88\u591a\u4eba\u66f4\u559c\u6b22\u4f7f\u7528\u50cf Gin \u8fd9\u6837\u7684\u73b0\u6210\u6846\u67b6\u3002 \u5728\u8fc7\u53bb\u7684\u4e00\u5e74\u91cc\uff0cGin \u7684\u53d7\u6b22\u8fce\u7a0b\u5ea6\u4ece <a href=\"https:\/\/www.jetbrains.com\/zh-cn\/lp\/devecosystem-2022\/go\/\" target=\"_blank\" rel=\"noopener\">40%<\/a> \u4e0a\u5347\u5230 46%\u3002<\/p>\n<p>\u53bb\u5e74\u7684\u8c03\u67e5\u6ca1\u6709\u5c06\u201cnet\/http\u201d\u4f5c\u4e3a\u7b54\u6848\u9009\u9879\uff0c\u8fd9\u663e\u7136\u5bfc\u81f4\u8bb8\u591a\u4ec5\u4f7f\u7528\u6807\u51c6\u5e93\u7684\u7528\u6237\u9009\u62e9\u4e86\u201c\u65e0\u201d\u3002 \u6211\u4eec\u4eca\u5e74\u6dfb\u52a0\u540e\uff0c<code>net\/http<\/code> \u51e0\u4e4e\u548c Gin \u4e00\u6837\u6d41\u884c\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-311675\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/web-frameworks.png\" alt=\"\" width=\"1456\" height=\"906\"><\/figure>\n<p><strong>\u4e13\u5bb6\u5206\u6790<\/strong><\/p>\n<p><strong>Bartlomiej<\/strong>\uff1a\u201cGo \u4f18\u79c0\u7684\u6807\u51c6\u5e93\u8db3\u4ee5\u5e94\u5bf9\u5927\u591a\u6570\u60c5\u51b5\u3002 44% \u7684\u53d7\u8bbf\u8005\u4f7f\u7528 <code>net\/http<\/code> \u5c31\u8bc1\u5b9e\u4e86\u8fd9\u4e00\u70b9\u3002 \u8fd9\u5f88\u597d\uff0c\u56e0\u4e3a\u8fd9\u610f\u5473\u7740\u6807\u51c6\u5e93\u7ecf\u8fc7\u4e86\u5b9e\u6218\u8003\u9a8c\uff0c\u4e5f\u786e\u4fdd\u8f85\u52a9\u5e93\u548c\u5e2e\u52a9\u7a0b\u5e8f\u4e3b\u8981\u96c6\u4e2d\u5728 net\/http \u4e0a\uff0c\u4f7f Go \u66f4\u5bb9\u6613\u88ab\u91c7\u7528\u3002\u201d<\/p>\n<h2>\u6d4b\u8bd5<\/h2>\n<p>Go \u4e2d\u7684\u5185\u7f6e\u6d4b\u8bd5\u652f\u6301\u5f97\u5230\u8bb8\u591a\u5f00\u53d1\u8005\u7684\u8d5e\u8d4f\uff0c\u4f46\u6b64\u5916\u4e5f\u6709\u4e00\u4e9b\u6846\u67b6\u3002 \u6700\u53d7\u6b22\u8fce\u7684\u662f <code>testify<\/code> \u548c <code>gomock<\/code>\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-311721\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/testing-1.png\" alt=\"\" width=\"1684\" height=\"810\"><\/figure>\n<p><strong>\u4e13\u5bb6\u5206\u6790<\/strong><\/p>\n<p><strong>Michael<\/strong>\uff1a\u201c\u5c3d\u7ba1\u5185\u7f6e\u5de5\u5177\u7684\u6570\u91cf\u6709\u6240\u4e0b\u964d\uff0c\u4f46\u770b\u5230\u5185\u7f6e\u5de5\u5177\u6210\u4e3a Go \u5f00\u53d1\u8005\u7684\u6807\u51c6\u8fd8\u662f\u8ba9\u6211\u76f8\u5f53\u81ea\u8c6a\u3002 \u5bf9\u4e8e\u4e0d\u540c\u7684\u9879\u76ee\u6216\u8bed\u8a00\uff0c\u6211\u7ecf\u5e38\u53d1\u73b0\u5b66\u4e60\u5de5\u5177\u6bd4\u5b66\u4e60\u8bed\u8a00\u672c\u8eab\u66f4\u96be\uff0c\u56e0\u4e3a\u8fd9\u91cc\u4f3c\u4e4e\u6ca1\u6709\u6807\u51c6\uff0c\u7279\u522b\u662f\u5bf9\u4e8e\u201c\u65e7\u201d\u8bed\u8a00\u3002 Google \u641c\u7d22\u901a\u5e38\u4f1a\u663e\u793a\u4e09\u79cd\u6216\u66f4\u591a\u4e0d\u540c\u7684\u65b9\u5f0f\uff0c\u4ee3\u7801\u5e93\u4e5f\u4e0d\u4f8b\u5916\u3002 \u8fd9\u5c31\u662f\u6211\u683c\u5916\u559c\u6b22 Go \u7684\u539f\u56e0\uff1a\u5f3a\u5927\u7684\u6d4b\u8bd5\u5de5\u5177\u3001<code>go fmt<\/code> \u7b49\u5185\u7f6e\u5de5\u5177\u5e26\u6765\u7684\u4e00\u81f4\u6027\u548c\u66f4\u5c11\u7684\u6b67\u4e49\uff01\u201d<\/p>\n<p><strong>Bartlomiej<\/strong>\uff1a\u201c\u6d89\u53ca\u6d4b\u8bd5\u5e93\u65f6\uff0c\u7528\u6237\u9009\u62e9\u5dee\u5f02\u4f3c\u4e4e\u66f4\u5927\u3002 \u8fd9\u8868\u660e\u6807\u51c6\u5e93\u5728\u8fd9\u65b9\u9762\u4ecd\u6709\u6539\u8fdb\u7684\u7a7a\u95f4\u3002 \u6211\u7684\u5efa\u8bae\u662f\u7ee7\u7eed\u4f7f\u7528\u66f4\u7b80\u5355\u7684\u6846\u67b6\uff0c\u4f8b\u5982\u6211\u4eec\u5728 Prometheus \u751f\u6001\u7cfb\u7edf\u4e2d\u4f7f\u7528\u7684 <a href=\"https:\/\/pkg.go.dev\/github.com\/efficientgo\/core\/testutil\" target=\"_blank\" rel=\"noopener\"><code>testutil<\/code><\/a>\u3002 \u6d4b\u8bd5\u6846\u67b6 API \u8d8a\u81c3\u80bf\u548c\u590d\u6742\uff0c\u8bfb\u53d6\u3001\u5199\u5165\u548c\u4f9d\u8d56\u5355\u5143\u6d4b\u8bd5\u5c31\u8d8a\u56f0\u96be\u3002 \u8fd9\u610f\u5473\u7740\u5f00\u53d1\u8005\u62d2\u7edd\u7f16\u5199\u66f4\u591a\u6d4b\u8bd5\uff0c\u5bfc\u81f4\u4ee3\u7801\u66f4\u4e0d\u53ef\u9760\uff01\u201d<\/p>\n<h2>\u60a8\u662f\u5426\u4f7f\u7528\u4ee3\u7406\uff1f<\/h2>\n<p>\u66fe\u7ecf\u6709\u4e00\u6bb5\u65f6\u95f4\uff0c<code>go get<\/code> \u547d\u4ee4\u4f1a\u76f4\u63a5\u4ece GitHub \u7b49 VCS \u7cfb\u7edf\u4e2d\u7684\u6e90\u4ee3\u7801\u4ed3\u5e93\u4e0b\u8f7d\u6a21\u5757\u3002 \u8fd9\u79cd\u65b9\u5f0f\u6709\u4e00\u4e9b\u7f3a\u70b9 \u2013 \u6a21\u5757\u53ef\u4ee5\u88ab\u5176\u4f5c\u8005\u5220\u9664\uff0c\u7248\u672c\u53ef\u4ee5\u88ab\u7f16\u8f91\uff08\u60a8\u53ef\u4ee5\u5728<a href=\"https:\/\/jfrog.com\/blog\/why-goproxy-matters-and-which-to-pick\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">\u8fd9\u91cc<\/a>\u548c<a href=\"https:\/\/arslan.io\/2019\/08\/02\/why-you-should-use-a-go-module-proxy\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">\u8fd9\u91cc<\/a>\u8be6\u7ec6\u4e86\u89e3\u65e7\u65b9\u5f0f\u7684\u4f18\u7f3a\u70b9\uff09\u3002<\/p>\n<p>2019 \u5e74\uff0cGo \u56e2\u961f<a href=\"https:\/\/go.dev\/blog\/modules2019\" target=\"_blank\" rel=\"noreferrer noopener\">\u63a8\u51fa<\/a>\u4e86\u7f13\u5b58\u6a21\u5757\u7684\u516c\u5171\u4ee3\u7406\u670d\u52a1\u5668\u3002 \u4ece 1.13 \u7248\u672c\u5f00\u59cb\uff0c<code>GOPROXY<\/code> \u7684<a href=\"https:\/\/proxy.golang.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u9ed8\u8ba4\u503c<\/a>\u4e3a <code>https:\/\/proxy.golang.org,direct<\/code>\u3002 <code>proxy.golang.org<\/code> \u670d\u52a1\u5668\u662f\u6240\u6709 Go \u5f00\u53d1\u8005\u90fd\u53ef\u4ee5\u8bbf\u95ee\u7684\u516c\u5171\u4ed3\u5e93\uff0c\u5b83\u5728\u542f\u52a8 <code>go get<\/code> \u547d\u4ee4\u65f6\u4e3a\u6a21\u5757\u63d0\u4f9b\u670d\u52a1\u3002 \u8fd9\u79cd\u65b9\u5f0f\u53ef\u4ee5\u786e\u4fdd\u60a8\u9700\u8981\u7684\u6a21\u5757\u59cb\u7ec8\u53ef\u7528\u3002<\/p>\n<p>\u6839\u636e JetBrains \u8c03\u67e5\uff0c51% \u7684\u53d7\u8bbf\u8005\u4e0d\u4f7f\u7528\u4ee3\u7406\u3002 \u5982 Carolyn Van Slyck \u5728\u5979\u7684\u8bc4\u8bba\u4e2d\u6240\u8bf4\uff0c\u4e00\u4e9b\u5f00\u53d1\u8005\u53ef\u80fd\u4e0d\u77e5\u9053 <code>GOPROXY<\/code> \u7684\u9ed8\u8ba4\u503c\u3002 \u5728\u65b0\u7684\u8c03\u67e5\u4e2d\uff0c\u6211\u4eec\u4f1a\u5c3d\u91cf\u8003\u8651\u5230\u8fd9\u4e00\u70b9\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-311698\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/proxy.png\" alt=\"\" width=\"1738\" height=\"1240\"><\/figure>\n<p><strong>\u4e13\u5bb6\u5206\u6790<\/strong><\/p>\n<p><strong>Carolyn<\/strong>\uff1a\u201c\u6211\u5f88\u60ca\u8bb6\u6709\u8fd9\u4e48\u591a\u4eba\u4e0d\u4f7f\u7528\u4ee3\u7406\uff01 \u6211\u6000\u7591\u8bb8\u591a gopher \u6ca1\u6709\u610f\u8bc6\u5230 Go \u4ee3\u7406\u9ed8\u8ba4\u542f\u7528\uff0c\u5b9e\u9645\u4e0a\u5e76\u6ca1\u6709\u660e\u786e\u5173\u95ed <code>GOPROXY<\/code>\u3002\u201d<\/p>\n<h2>\u6a21\u677f\u5f15\u64ce<\/h2>\n<p>Go \u7684\u5185\u7f6e\u6a21\u677f\u8f6f\u4ef6\u5305 <code>text\/template<\/code> \u548c <code>html\/template<\/code> \u662f\u751f\u6210\u6587\u672c\u548c HTML \u8f93\u51fa\u7684\u7edd\u4f73\u65b9\u5f0f\u3002 \u6211\u4eec\u7684\u7814\u7a76\u8868\u660e\uff0cGo \u5f00\u53d1\u8005\u8fd8\u4f7f\u7528 <a href=\"https:\/\/github.com\/flosch\/pongo2\" target=\"_blank\" rel=\"noopener\">Pongo2<\/a>\uff08\u7c7b\u4f3c Django \u8bed\u6cd5\u7684\u6a21\u677f\u5f15\u64ce\uff09\u548c <a href=\"https:\/\/github.com\/gobuffalo\/plush\" target=\"_blank\" rel=\"noopener\">Plush<\/a>\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-311796\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/templates-1.png\" alt=\"\" width=\"1592\" height=\"856\"><\/figure>\n<p><strong>\u4e13\u5bb6\u5206\u6790<\/strong><\/p>\n<p><strong>Bartlomiej<\/strong>\uff1a\u201c\u968f\u7740 Go \u91c7\u7528\u7387\u7684\u589e\u52a0\uff0c\u6211\u4eec\u5e0c\u671b\u770b\u5230\u66f4\u591a\u5e94\u7528\u7a0b\u5e8f\u4f7f\u7528\u6a21\u677f\u5f15\u64ce\u6e32\u67d3\u7f51\u7ad9\u4ee5\u5916\u7684\u5de5\u4ef6\uff08\u4f8b\u5982\u914d\u7f6e\uff09\u3002 \u8bb0\u4f4f\uff0c\u6e32\u67d3 HTML \u9875\u9762\u65f6\uff0c\u8bf7\u59cb\u7ec8\u4f7f\u7528 <code><a href=\"https:\/\/pkg.go.dev\/html\/template\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">html\/template<\/a><\/code>\uff0c\u56e0\u4e3a\u5b83\u4f1a\u6e05\u7406\u8f93\u5165\u4ee5\u907f\u514d\u4ee3\u7801\u6ce8\u5165\u653b\u51fb\u3002\u201d<\/p>\n<h2>\u60a8\u662f\u5426\u4f7f\u7528 gopls\uff1f<\/h2>\n<p><code>gopls<\/code> \u662f Go \u56e2\u961f\u5f00\u53d1\u7684\u5b98\u65b9 Go \u8bed\u8a00\u670d\u52a1\u5668 (LSP)\u3002 GoLand \u4e0e\u5176\u4ed6 JetBrains IDE \u4e00\u6837\uff0c\u4f7f\u7528\u4e0d\u540c\u4e8e LSP \u7684\u65b9\u5f0f\u6784\u5efa\u81ea\u5df1\u7684<a href=\"https:\/\/plugins.jetbrains.com\/docs\/intellij\/psi.html\" target=\"_blank\" rel=\"noopener\">\u6e90\u4ee3\u7801\u5185\u90e8\u8868\u793a<\/a>\u3002<\/p>\n<p>\u8fd9\u4e2a\u95ee\u9898\u5411\u4e0d\u4f7f\u7528 GoLand \u7684\u53d7\u8bbf\u8005\u663e\u793a\u3002 \u7ed3\u679c\u8868\u660e\uff0c\u5176\u4e2d 61% \u4f7f\u7528 <code>gopls<\/code>\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-311745\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/gopls.png\" alt=\"\" width=\"1522\" height=\"896\"><\/figure>\n<p>\u6211\u4eec\u8fd8\u8be2\u95ee\u4e86 <code>gopls<\/code> \u7528\u6237\u7684\u6ee1\u610f\u5ea6\u3002<\/p>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-311756\" src=\"https:\/\/blog.jetbrains.com\/wp-content\/uploads\/2023\/01\/gopls-satisf.png\" alt=\"\" width=\"1908\" height=\"1178\"><\/figure>\n<p><strong>\u4e13\u5bb6\u5206\u6790<\/strong><\/p>\n<p><strong>Bartlomiej<\/strong>\uff1a\u201c<code>gopls<\/code> \u6bcf\u5929\u90fd\u5728\u6539\u8fdb\uff0c\u4f46\u8fd8\u4e0d\u5b8c\u7f8e\uff0c\u6240\u4ee5\u6211\u5e76\u4e0d\u60ca\u8bb6\u7528\u6237\u5e0c\u671b\u770b\u5230\u66f4\u591a\u6539\u8fdb\u3002 \u6211\u4e2a\u4eba\u8fd8\u662f\u66f4\u559c\u6b22\u7528 GoLand \u5b8c\u6210\u6240\u6709\u8f6f\u4ef6\u5f00\u53d1\u5de5\u4f5c\uff0c\u56e0\u4e3a\u5b83\u6709\u66f4\u4e30\u5bcc\u7684\u5bfc\u822a\u3001\u641c\u7d22\u548c\u91cd\u6784\u529f\u80fd\u3002\u201d<\/p>\n<p><strong>Michael<\/strong>\uff1a\u201c\u8fc7\u53bb\u51e0\u5e74\uff0c<code>gopls<\/code> \u7edd\u5bf9\u53d8\u5f97\u66f4\u597d\u4e86\u3002 \u6211\u8bb0\u5f97\uff0c\u6709\u597d\u51e0\u6b21\u6211\u5fc5\u987b\u4e0d\u65ad\u91cd\u542f\u8bed\u8a00\u670d\u52a1\u5668\u6216\u7f16\u8f91\u5668\uff0c\u56e0\u4e3a\u8bed\u6cd5\u9ad8\u4eae\u663e\u793a\u548c\u5176\u4ed6\u529f\u80fd\u51fa\u4e86\u95ee\u9898\u3002 \u4f46\u4e0e GoLand \u76f8\u6bd4\uff0c\u7279\u522b\u662f\u91cd\u6784\u548c\u667a\u80fd\u7c7b\u578b\u5339\u914d\u8865\u5168\u7684\u5f3a\u5927\u529f\u80fd\uff0c\u6211\u8ba4\u4e3a <code>gopls<\/code> \u8fd8\u6709\u5f88\u957f\u7684\u8def\u8981\u8d70\u3002 \u4f46\u6211\u660e\u767d\uff0c\u5982\u679c\u4f60\u4e0d\u662f\u6bcf\u5929\/\u4e13\u4e1a\u5730\u7f16\u5199 Go \u4ee3\u7801\uff0c\u8fd9\u4e9b\u529f\u80fd\u4e5f\u53ef\u80fd\u7a0d\u663e\u591a\u4f59\u3002\u201d<\/p>\n<p>\u5c31\u662f\u8fd9\u4e9b\uff01 <a href=\"https:\/\/www.jetbrains.com\/zh-cn\/lp\/devecosystem-2022\/go\/\" target=\"_blank\" rel=\"noopener\">\u67e5\u770b\u5b8c\u6574\u62a5\u544a<\/a>\uff0c\u544a\u8bc9\u6211\u4eec\u60a8\u5bf9\u8c03\u67e5\u7ed3\u679c\u7684\u770b\u6cd5\u3002 \u60a8\u53ef\u4ee5\u5728 <a href=\"https:\/\/twitter.com\/GoLandIDE\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Twitter<\/a> \u4e0a\u8054\u7cfb\u6211\u4eec\uff0c\u5728\u8fd9\u91cc\u7559\u4e0b\u8bc4\u8bba\uff0c\u6216\u8005\u5728 <a href=\"https:\/\/invite.slack.golangbridge.org\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Gophers Slack<\/a> #goland \u9891\u9053\u7ed9\u6211\u4eec\u53d1\u9001\u6d88\u606f\u3002 \u611f\u8c22\u9605\u8bfb\uff01<\/p>\n\n\n<p><\/p>\n\n\n\n<p>\u672c\u535a\u6587\u82f1\u6587\u539f\u4f5c\u8005\uff1a<\/p>\n\n\n    <div class=\"about-author \">\n        <div class=\"about-author__box\">\n            <div class=\"row\">\n                <div class=\"about-author__box-img\">\n                    <img decoding=\"async\" src=\"https:\/\/secure.gravatar.com\/avatar\/?s=200&#038;r=g\" width=\"200\" height=\"200\" alt=\"\" loading=\"lazy\"  class=\"avatar avatar-200 wp-user-avatar wp-user-avatar-200 photo avatar-default\">\n                <\/div>\n                <div class=\"about-author__box-text\">\n                                                        <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n","protected":false},"author":1297,"featured_media":313152,"comment_status":"closed","ping_status":"closed","template":"","categories":[89],"tags":[4269],"cross-post-tag":[],"acf":[],"_links":{"self":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/go\/321282"}],"collection":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/go"}],"about":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/types\/go"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/users\/1297"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/comments?post=321282"}],"version-history":[{"count":2,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/go\/321282\/revisions"}],"predecessor-version":[{"id":321314,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/go\/321282\/revisions\/321314"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media\/313152"}],"wp:attachment":[{"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/media?parent=321282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/categories?post=321282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/tags?post=321282"},{"taxonomy":"cross-post-tag","embeddable":true,"href":"https:\/\/blog.jetbrains.com\/zh-hans\/wp-json\/wp\/v2\/cross-post-tag?post=321282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}