{"id":10006975,"date":"2022-12-15T13:59:36","date_gmt":"2022-12-15T05:59:36","guid":{"rendered":"https:\/\/ityet.com\/?p=10006975"},"modified":"2022-12-15T13:59:36","modified_gmt":"2022-12-15T05:59:36","slug":"go1-20-%e5%b0%86%e4%bc%9a%e4%bf%ae%e6%94%b9%e5%85%a8%e5%b1%80%e5%8f%98%e9%87%8f%e7%9a%84%e5%88%9d%e5%a7%8b%e5%8c%96%e9%a1%ba%e5%ba%8f%e3%80%82%e6%a2%85%e5%bc%80%e4%ba%8c%e5%ba%a6%ef%bc%8c%e7%bb%a7","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10006975","title":{"rendered":"Go1.20 \u5c06\u4f1a\u4fee\u6539\u5168\u5c40\u53d8\u91cf\u7684\u521d\u59cb\u5316\u987a\u5e8f\u3002\u6885\u5f00\u4e8c\u5ea6\uff0c\u7ee7\u7eed\u6253\u7834 Go1 \u517c\u5bb9\u6027\u627f\u8bfa\uff01"},"content":{"rendered":"<p>\u5927\u5bb6\u597d\uff0c\u6211\u662f\u714e\u9c7c\u3002<\/p>\n<p>Go1.20 \u53d1\u5e03\u5728\u5373\uff0c\u5927\u5bb6\u90fd\u5173\u6ce8\u4e86\u4e00\u4e9b\u5927\u5934\u7684\u529f\u80fd\u7279\u6027\uff0c\u4f8b\u5982\uff1aPGO\u3001Arean \u7b49\u3002\u90fd\u6ca1\u6709\u90a3\u4e48\u7684\u5e38\u63a5\u89e6\u5230\u3002<\/p>\n<p>\u5b9e\u8d28\u4e0a\u672c\u6b21\u65b0\u7248\u672c\u8fd8\u4fee\u590d\u4e86\u5728\u5168\u5c40\u53d8\u91cf\u521d\u59cb\u5316\u65b9\u9762\u7684\u987a\u5e8f\uff0c\u6765\u81ea\u300a<a href=\"https:\/\/link.segmentfault.com\/?enc=GNjQX7VN03JdhuFHT9PKKA%3D%3D.ePbqQ1t4Qb%2Bp1dJBaRrTldyPlmud6oeqlwZ5l46PlIHxq9NX9mIEoWoeITcjPg6k\" rel=\"nofollow\" title=\"cmd\/compile: global variable initialization done in unexpected order\">cmd\/compile: global variable initialization done in unexpected order<\/a>\u300b\uff0c\u8fd9\u662f\u4e2a\u633a\u6709\u8da3\u7684\u95ee\u9898\u3002<\/p>\n<h2>\u795e\u5947\u6848\u4f8b<\/h2>\n<p>\u4ece\u6848\u4f8b\u5c55\u5f00\uff0c\u5047\u8bbe\u5728\u540c\u4e00\u4e2a package \u4e0b\u6709 2 \u4e2a\u6587\u4ef6\uff0c\u5206\u522b\u662f\uff1af1.go \u548c f2.go\uff0c\u5305\u542b\u4e86\u4e0d\u540c\u7684\u5305\u5168\u5c40\u53d8\u91cf\u58f0\u660e\u548c\u4ee3\u7801\u3002<\/p>\n<p>\u6587\u4ef6 f1.go\u3002\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"go\">package main    \n   \nvar A int = 3    \nvar B int = A + 1    \nvar C int = A<\/code><\/pre>\n<p>\u6587\u4ef6 f2.go\u3002\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"go\">package main    \n   \nimport &quot;fmt&quot;    \n                     \nvar D = f()      \n   \nfunc f() int {    \n  A = 1    \n  return 1    \n}    \n   \nfunc main() {    \n  fmt.Println(A, B, C)    \n}  <\/code><\/pre>\n<p>\u95ee\u9898\u6765\u4e86\u3002<\/p>\n<p>\u5982\u679c\u8fd0\u884c <code>go run f1.go f2.go<\/code>\uff0c\u4f1a\u8f93\u51fa\u4ec0\u4e48\u7ed3\u679c\uff1f<\/p>\n<p>\u8fd0\u884c\u7ed3\u679c\u5982\u4e0b\uff1a<\/p>\n<pre><code>1 4 3<\/code><\/pre>\n<p>\u4f60\u7b54\u5bf9\u4e86\u5417\uff1f\u518d\u4ed4\u7ec6\u60f3\u60f3\u3002<\/p>\n<p>\u5982\u679c\u8fd0\u884c <code>go run f2.go f1.go<\/code>\uff0c\u4f1a\u8f93\u51fa\u4ec0\u4e48\u7ed3\u679c\uff1f<\/p>\n<p>\u8fd0\u884c\u7ed3\u679c\u5982\u4e0b\uff1a<\/p>\n<pre><code>1 2 3<\/code><\/pre>\n<p>\u8fd9\u53ea\u662f run \u7684\u6587\u4ef6\u5148\u540e\u987a\u5e8f\u4e0d\u4e00\u6837\u4e86\uff0c\u548b\u5c31\u8fde\u8f93\u51fa\u7684\u7ed3\u679c\u90fd\u4e0d\u4e00\u6837\u4e86\uff1f<\/p>\n<p>\u8f93\u51fa\u7ed3\u679c\u5230\u5e95\u8c01\u5bf9\u8c01\u9519\uff0c\u8fd8\u662f\u8bf4\u90fd\u9519\u4e86\uff0c\u6b63\u786e\u7684\u662f\u4ec0\u4e48\uff1f<\/p>\n<h2>Go \u89c4\u8303\u5b9a\u4e49<\/h2>\n<p>\u6211\u4eec\u8981\u77e5\u9053\u6b63\u786e\u8f93\u51fa\u7684\u7ed3\u679c\u662f\u4ec0\u4e48\uff0c\u8fd8\u5f97\u662f\u770b Go \u8bed\u8a00\u89c4\u8303\u300a<a href=\"https:\/\/link.segmentfault.com\/?enc=mzcN4iZj2vJ0M4jR23POIw%3D%3D.vlywseMrjGfibnd8nxjhQWSZH%2BxfAzDBb5kRaPVqUlAlLy1Dy5TIJ7fP3WsHEfxs\" rel=\"nofollow\" title=\"The Go Programming Language Specification\">The Go Programming Language Specification<\/a>\u300b\u8bf4\u4e86\u7b97\u3002<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000043088619\" alt=\"sepc\" title=\"sepc\" loading=\"lazy\"><\/p>\n<p>\u5728\u89c4\u8303\u4e2d\u7684\u5305\u521d\u59cb\u5316\uff08Package initialization\uff09\u7ae0\u8282\u4e2d\u660e\u786e\u6307\u51fa\uff1a&#8221;<strong>\u5728\u4e00\u4e2a\u5305\u4e2d\uff0c\u5305\u7ea7\u522b\u7684\u53d8\u91cf\u521d\u59cb\u5316\u662f\u9010\u6b65\u8fdb\u884c\u7684\uff0c\u6bcf\u4e00\u6b65\u90fd\u4f1a\u9009\u62e9\u58f0\u660e\u987a\u5e8f\u4e2d\u6700\u65e9\u7684\u53d8\u91cf\uff0c\u5b83\u4e0d\u4f9d\u8d56\u4e8e\u672a\u521d\u59cb\u5316\u7684\u53d8\u91cf<\/strong>\u3002&#8221;<\/p>\n<p>\u66f4\u5b8c\u6574\u548c\u51c6\u786e\u7684\u9610\u8ff0\uff1a<\/p>\n<ul>\n<li>\u5982\u679c\u5305\u7ea7\u53d8\u91cf\u5c1a\u672a\u521d\u59cb\u5316\u5e76\u4e14\u6ca1\u6709\u521d\u59cb\u5316\u8868\u8fbe\u5f0f\u6216\u5176\u521d\u59cb\u5316\u8868\u8fbe\u5f0f\u4e0d\u4f9d\u8d56\u4e8e\u672a\u521d\u59cb\u5316\u7684\u53d8\u91cf\uff0c\u5219\u8ba4\u4e3a\u5305\u7ea7\u53d8\u91cf\u5df2\u51c6\u5907\u597d\u8fdb\u884c\u521d\u59cb\u5316\u3002<\/li>\n<li>\u521d\u59cb\u5316\u901a\u8fc7\u91cd\u590d\u521d\u59cb\u5316\u58f0\u660e\u987a\u5e8f\u4e2d\u6700\u65e9\u5e76\u51c6\u5907\u521d\u59cb\u5316\u7684\u4e0b\u4e00\u4e2a\u5305\u7ea7\u53d8\u91cf\u6765\u8fdb\u884c\uff0c\u76f4\u5230\u6ca1\u6709\u53d8\u91cf\u51c6\u5907\u597d\u8fdb\u884c\u521d\u59cb\u5316\u3002<\/li>\n<\/ul>\n<p>\u5728\u4e86\u89e3\u4e86\u7406\u8bba\u77e5\u8bc6\u540e\uff0c\u6211\u4eec\u518d\u7ed3\u5408\u5b98\u65b9\u4f8b\u5b50\u770b\u770b\uff0c\u52a0\u5f3a\u5b9e\u8df5\u7684\u8865\u5168\u3002<\/p>\n<p>\u4f8b\u5b50 1\u3002\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"go\">var x = a\nvar a, b = f()<\/code><\/pre>\n<p>\u5728\u521d\u59cb\u5316\u53d8\u91cf x \u4e4b\u524d\uff0c\u53d8\u91cf a \u548c b \u4f1a\u4e00\u8d77\u521d\u59cb\u5316\uff08\u5728\u540c\u4e00\u6b65\u9aa4\u4e2d\uff09\u3002<\/p>\n<p>\u4f8b\u5b50 2\u3002\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"go\">var (\n    a = c + b  \/\/ == 9\n    b = f()    \/\/ == 4\n    c = f()    \/\/ == 5\n    d = 3      \/\/ == 5 after initialization has finished\n)\n\nfunc f() int {\n    d++\n    return d\n}<\/code><\/pre>\n<p>\u521d\u59cb\u5316\u987a\u5e8f\u662f\uff1ad, b, c, a\u3002<\/p>\n<h2>\u6848\u4f8b\u54ea\u91cc\u6709\u95ee\u9898<\/h2>\n<p>\u5728\u89e3\u8bfb\u4e86\u80cc\u666f\u548c\u89c4\u8303\u540e\uff0c\u518d\u6b21\u56de\u987e\u6587\u7ae0\u521a\u5f00\u59cb\u7684\u6848\u4f8b\u3002<\/p>\n<p>\u6587\u4ef6 f1.go\u3002\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"go\">package main    \n   \nvar A int = 3    \nvar B int = A + 1    \nvar C int = A<\/code><\/pre>\n<p>\u6587\u4ef6 f2.go\u3002\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"go\">package main    \n   \nimport &quot;fmt&quot;    \n                     \nvar D = f()      \n   \nfunc f() int {    \n  A = 1    \n  return 1    \n}    \n   \nfunc main() {    \n  fmt.Println(A, B, C)    \n}  <\/code><\/pre>\n<p>\u7b2c\u4e00\u79cd\uff0c\u8fd0\u884c <code>go run f1.go f2.go<\/code>\uff0c\u8f93\u51fa\uff1a1 4 3\u3002<\/p>\n<p>\u7b2c\u4e8c\u79cd\uff0c\u8fd0\u884c <code>go run f2.go f1.go<\/code>\uff0c\u8f93\u51fa\uff1a1 2 3.<\/p>\n<p>\u5982\u679c\u6309\u7167\u89c4\u8303\u6765\uff0c\u5206\u6790\u7a0b\u5e8f\u53d8\u91cf\u521d\u59cb\u5316\u987a\u5e8f\u548c\u5e94\u8be5\u8f93\u51fa\u7684\u7ed3\u679c\u3002\u5982\u4e0b\uff1a<\/p>\n<ul>\n<li>A &lt; B &lt; C &lt; D\uff1a\u53d1\u751f\u5728\u4f60\u7f16\u8bd1\u9879\u76ee\u65f6\uff0c\u8fd0\u884c\u547d\u4ee4\u5148\u628a f1.go \u4f20\u7ed9\u7f16\u8bd1\u5668\uff0c\u7136\u540e\u518d\u4f20 f2.go\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u8f93\u51fa\u7ed3\u679c\u662f 1 4 3\u3002<\/li>\n<li>A &lt; D &lt; B &lt; C\uff1a\u53d1\u751f\u5728\u5148\u5c06 f2.go \u4f20\u7ed9\u7f16\u8bd1\u5668\u65f6\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u9884\u671f\u8f93\u51fa\u662f 1 2 1\u3002\u7136\u800c\uff0c\u5b9e\u9645\u7684\u8f93\u51fa\u662f 1 2 3\u3002<\/li>\n<\/ul>\n<p>\u95ee\u9898\u51fa\u5728\u7b2c\u4e8c\u79cd\u60c5\u51b5\uff0c\u6211\u4eec\u5c1d\u8bd5\u6539\u4e00\u4e0b\u5199\u6cd5\uff0c\u53d8\u6210\u5982\u4e0b\u4ee3\u7801\uff1a<\/p>\n<pre><code class=\"go\">package main    \n   \nimport &quot;fmt&quot;    \n   \nvar A int = initA()    \nvar B int = initB()    \nvar C int = initC()    \n     \nfunc initA() int {    \n  fmt.Println(&quot;Init A&quot;)    \n  return 3    \n}    \n     \nfunc initB() int {    \n  fmt.Println(&quot;Init B&quot;)    \n  return A + 1    \n}    \n \nfunc initC() int {    \n  fmt.Println(&quot;Init C&quot;)    \n  return A    \n} <\/code><\/pre>\n<p>\u8f93\u51fa\u7ed3\u679c\uff1a<\/p>\n<pre><code>Init A\nInit B\nInit C\n1 2 1<\/code><\/pre>\n<p>\u9884\u671f\u7ed3\u679c\u5c31\u4e00\u81f4\u4e86\u3002<\/p>\n<p>\u8fd9\u662f\u6709 BUG\uff01\u4e0e Go \u89c4\u8303\u5b9a\u4e49\u7684\u4e0d\u4e00\u81f4\u3002<\/p>\n<h2>\u4fee\u590d\u65f6\u95f4<\/h2>\n<p>\u76ee\u524d\u8fd9\u4e2a\u95ee\u9898\u5df2\u7ecf\u660e\u786e\u662f Go \u7f16\u8bd1\/\u8fd0\u884c\u65f6\u7684 BUG\uff0c\u5e76\u4e14\u8fd9\u4e2a\u95ee\u9898\u5df2\u7ecf\u5b58\u5728\u4e86\u5f88\u4e45\uff0c\u5c06\u8ba1\u5212\u5728 Go1.20 \u4e2d\u4fee\u590d\u3002<\/p>\n<p>\u4e0d\u8fc7\u7531\u4e8e\u4e0d\u77e5\u9053\u662f\u5426\u4f1a\u5f71\u54cd\u7528\u6237\uff0c\u56e0\u6b64 Go \u5b98\u65b9\u5c06\u4f1a\u66f4\u591a\u7684\u5173\u6ce8\u793e\u533a\u53cd\u9988\u3002\u5f53\u7136\uff0c\u8fd9\u4e2a\u786e\u5b9e\u662f BUG\uff0c\u4f1a\u4fee\u3002\u4e5f\u4e3a\u6b64\u8ba4\u4e3a\u503c\u5f97\u6253\u7834 Go1 \u517c\u5bb9\u6027\u7684\u539f\u5219\u3002<\/p>\n<h2>\u603b\u7ed3<\/h2>\n<p>\u4eca\u5929\u8fd9\u7bc7\u6587\u7ae0\u6211\u4eec\u4ecb\u7ecd\u4e86 Go \u4e00\u76f4\u4ee5\u6765\u5b58\u5728\u7684\u4e00\u4e2a Go \u7f16\u8bd1\/\u8fd0\u884c\u65f6\u7684 BUG\uff0c\u4f1a\u5bfc\u81f4 Go \u7a0b\u5e8f\u7684\u5168\u5c40\u53d8\u91cf\u4f1a\u4e0e Go \u89c4\u8303\u672c\u8eab\u5b9a\u4e49\u7684\u4e0d\u4e00\u81f4\uff0c\u5c06\u9884\u8ba1\u4f1a\u5728 Go1.20 \u4fee\u590d\u3002<\/p>\n<p>\u8fd9\u4e5f\u662f Go \u6253\u7834 Go1 \u517c\u5bb9\u6027\u627f\u8bfa\u7684\u4e00\u4e2a\u6848\u4f8b\u3002\u503c\u5f97\u6211\u4eec\u5173\u6ce8\u3002<\/p>\n<blockquote><p>\u6587\u7ae0\u6301\u7eed\u66f4\u65b0\uff0c\u53ef\u4ee5\u5fae\u4fe1\u641c\u3010\u8111\u5b50\u8fdb\u714e\u9c7c\u4e86\u3011\u9605\u8bfb\uff0c\u672c\u6587 <strong>GitHub<\/strong> <a href=\"https:\/\/link.segmentfault.com\/?enc=Z8h0ZELhsPeBw38QhzSFBQ%3D%3D.Kp2DzBCixxQlfXfoxxJU563z%2Bpk4VUTDSKLY%2F2BDyTk%3D\" rel=\"nofollow\">github.com\/eddycjy\/blog<\/a> \u5df2\u6536\u5f55\uff0c\u5b66\u4e60 Go \u8bed\u8a00\u53ef\u4ee5\u770b <a href=\"https:\/\/link.segmentfault.com\/?enc=tIrO4jI74TJEdA11Wlk5bQ%3D%3D.dbE%2F072EMwPlrSVpp5rZ1oqh0IYCOheZyIZuwI2UnsOvLntXBTD9FG0ODRHNnOgR\" rel=\"nofollow\">Go \u5b66\u4e60\u5730\u56fe\u548c\u8def\u7ebf<\/a>\uff0c\u6b22\u8fce Star \u50ac\u66f4\u3002<\/p><\/blockquote>\n<h3>Go \u56fe\u4e66\u7cfb\u5217<\/h3>\n<ul>\n<li><a href=\"https:\/\/link.segmentfault.com\/?enc=rqr6E%2FPnnkdu3SyjqKCHiw%3D%3D.cIDORpk8x0OrhKtVtAsqkIYFKGJEGxMgKPIKHEUbdcLi%2B7O20hN5aQcbEnyrQJtw\" rel=\"nofollow\">Go \u8bed\u8a00\u5165\u95e8\u7cfb\u5217\uff1a\u521d\u63a2 Go \u9879\u76ee\u5b9e\u6218<\/a><\/li>\n<li><a href=\"https:\/\/link.segmentfault.com\/?enc=EbnnN78%2FaAkuU9a2CaUdmw%3D%3D.RRAxrMXecklHk5H8GinBh7suSrYJE%2FURIA9az1YiDuE%3D\" rel=\"nofollow\">Go \u8bed\u8a00\u7f16\u7a0b\u4e4b\u65c5\uff1a\u6df1\u5165\u7528 Go \u505a\u9879\u76ee<\/a><\/li>\n<li><a href=\"https:\/\/link.segmentfault.com\/?enc=MvwVa7y81YyY3IQimVeXrg%3D%3D.%2BpeXB7JR8AGzzW9KommmHUoYscY9%2BTmDGhQwhziI2tU%3D\" rel=\"nofollow\">Go \u8bed\u8a00\u8bbe\u8ba1\u54f2\u5b66\uff1a\u4e86\u89e3 Go \u7684\u4e3a\u4ec0\u4e48\u548c\u8bbe\u8ba1\u601d\u8003<\/a><\/li>\n<li><a href=\"https:\/\/link.segmentfault.com\/?enc=8u3Bo1tNH1y8xt%2BVn%2BUPYg%3D%3D.M8U1KFii%2FISk5W%2FFV7BKxnzRFwJl3MZ1WCAWcMccWhk%3D\" rel=\"nofollow\">Go \u8bed\u8a00\u8fdb\u9636\u4e4b\u65c5\uff1a\u8fdb\u4e00\u6b65\u6df1\u5165 Go \u6e90\u7801<\/a><\/li>\n<\/ul>\n<h4>\u63a8\u8350\u9605\u8bfb<\/h4>\n<ul>\n<li><a href=\"https:\/\/link.segmentfault.com\/?enc=LHYS2GkgNh8gM6lf%2BmL9sA%3D%3D.jZFsxHfsZau2Z4vulwSanFfw36iIeRw%2BIwIPR2HUq%2F1aOfP3N7QF9ToHfNJPX2hxrJ%2FVQw1EbB7DPbn6vxNVrA%3D%3D\" rel=\"nofollow\">Go1.20 \u4e2d\u4e24\u4e2a\u5173\u4e8e Time \u7684\u66f4\u65b0\uff0c\u7ec8\u4e8e\u4e0d\u7528\u80cc 2006-01-02 15:04:05 \u4e86\uff01<\/a><\/li>\n<li><a href=\"https:\/\/link.segmentfault.com\/?enc=wgBcplgPIwlkih0VEQs6KQ%3D%3D.w5QyjWPWiM%2B7VNRez%2BdolYH%2BuOMfUoNWVIGnWUBoCeiq7ay5sjuwGjo7aqP4%2FgTgiabGosoYX3ZmQ3M2VTVK9g%3D%3D\" rel=\"nofollow\">\u6253\u8138\u4e86\u5144\u5f1f\u4eec\uff0cGo1.20 arena \u6765\u4e86\uff01<\/a><\/li>\n<li><a href=\"https:\/\/link.segmentfault.com\/?enc=xZlJrR%2BZoqiNRw8LYTLRtQ%3D%3D.CgrF4im8GDN4oMogebVCUxECNkd1xs%2B4sHuAv3xSCqUSkL%2BrBZolb%2B%2Bk3LMC2GoxRm6Pf3EdJBbYFs1UNz%2BYQw%3D%3D\" rel=\"nofollow\">Go \u5341\u5e74\u4e86\uff0c\u7ec8\u4e8e\u60f3\u8d77\u8981\u7edf\u4e00 log \u5e93\u4e86\uff01<\/a><\/li>\n<\/ul>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000043088617\">https:\/\/segmentfault.com\/a\/1190000043088617<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5927\u5bb6\u597d\uff0c\u6211\u662f\u714e\u9c7c\u3002 Go1.20 \u53d1\u5e03\u5728\u5373\uff0c\u5927\u5bb6\u90fd\u5173\u6ce8\u4e86\u4e00\u4e9b\u5927\u5934\u7684\u529f\u80fd\u7279\u6027\uff0c\u4f8b\u5982\uff1aPGO\u3001Arean \u7b49\u3002\u90fd\u6ca1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-10006975","post","type-post","status-publish","format-standard","hentry","category-share"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10006975","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10006975"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10006975\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10006975"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10006975"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10006975"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}