{"id":10006463,"date":"2022-09-13T15:29:57","date_gmt":"2022-09-13T07:29:57","guid":{"rendered":"https:\/\/ityet.com\/?p=10006463"},"modified":"2022-09-13T15:29:57","modified_gmt":"2022-09-13T07:29:57","slug":"%e3%80%901-1-golang%e3%80%91go%e8%af%ad%e8%a8%80%e5%bf%ab%e9%80%9f%e5%85%a5%e9%97%a8-%e5%9f%ba%e6%9c%ac%e8%af%ad%e6%b3%95","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10006463","title":{"rendered":"\u30101-1 Golang\u3011Go\u8bed\u8a00\u5feb\u901f\u5165\u95e8\u2014\u57fa\u672c\u8bed\u6cd5"},"content":{"rendered":"<p>&emsp;&emsp;Go\u8bed\u8a00\u662fGoogle\u5f00\u53d1\u7684\u4e00\u79cd\u9759\u6001\u5f3a\u7c7b\u578b\u3001\u7f16\u8bd1\u578b\u3001\u5e76\u53d1\u578b\uff0c\u5e76\u5177\u6709\u5783\u573e\u56de\u6536\u529f\u80fd\u7684\u7f16\u7a0b\u8bed\u8a00\u3002Go\u8bed\u8a00\u505a\u5230\u4e86\u5728\u4e0d\u635f\u5931\u5e94\u7528\u7a0b\u5e8f\u6027\u80fd\u7684\u60c5\u51b5\u4e0b\u964d\u4f4e\u4ee3\u7801\u7684\u590d\u6742\u6027\u3002<\/p>\n<p>&emsp;&emsp;Go\u8bed\u8a00\u8bed\u6cd5\u7b80\u5355\uff0c\u53ea\u670925\u4e2a\u5173\u952e\u5b57\uff0c\u4e0d\u9700\u8981\u8017\u8d39\u65f6\u95f4\u53bb\u5b66\u4e60\u8bb0\u5fc6\uff1b\u6570\u636e\u7c7b\u578b\u5305\u62ec\u5e03\u5c14\u578b\uff0c\u6570\u5b57\u7c7b\u578b\uff08\u6574\u578b\u3001\u6d6e\u70b9\u578b\u3001\u590d\u6570\uff09\uff0c\u5b57\u7b26\u4e32\uff0c\u5207\u7247\uff08\u6570\u7ec4\uff09\uff0c\u5b57\u5178map\uff0c\u7ba1\u9053chan\u7b49\uff0c\u7528\u8d77\u6765\u8fd8\u662f\u6bd4\u8f83\u987a\u7545\u7684\u3002<\/p>\n<p>&emsp;&emsp;Go\u8bed\u8a00\u5929\u7136\u5177\u5907\u5e76\u53d1\u7279\u6027\uff0c\u57fa\u4e8ego\u5173\u952e\u5b57\u5c31\u80fd\u5f88\u65b9\u4fbf\u7684\u521b\u5efa\u534f\u7a0b\u53bb\u6267\u884c\u4e00\u4e9b\u5e76\u53d1\u4efb\u52a1\uff0c\u800c\u5176\u57fa\u4e8e\u534f\u7a0b-\u7ba1\u9053\u7684CSP\u5e76\u53d1\u7f16\u7a0b\u6a21\u578b\uff0c\u76f8\u6bd4\u4e8e\u4f20\u7edf\u590d\u6742\u7684\u591a\u7ebf\u7a0b\u540c\u6b65\u65b9\u6848\uff0c\u53ef\u4ee5\u8bf4\u7b80\u5355\u592a\u591a\u4e86\u3002<\/p>\n<p>&emsp;&emsp;Go\u8bed\u8a00\u8fd8\u5177\u5907\u5783\u573e\u56de\u6536\u80fd\u529b\uff0c\u907f\u514d\u4e86\u5e94\u7528\u5c42\u8fd8\u9700\u8981\u5173\u6ce8\u5185\u5b58\u7684\u5206\u914d\u4e0e\u91ca\u653e\uff0c\u8981\u77e5\u9053\u5728C\/C++\u8bed\u8a00\uff0c\u5185\u5b58\u7ba1\u7406\u53ef\u662f\u53ef\u662f\u8ba9\u4eba\u975e\u5e38\u5934\u75bc\u7684\u3002<\/p>\n<p>&emsp;&emsp;Go\u8bed\u8a00\u8fd8\u63d0\u4f9b\u4e86\u6bd4\u8f83\u5b8c\u5584\u7684\u6807\u51c6\u5e93\uff0c\u6bd4\u5982\u6211\u4eec\u53ea\u9700\u8981\u51e0\u884c\u4ee3\u7801\u5c31\u80fd\u521b\u5efa\u5e76\u542f\u52a8\u4e00\u4e2aHTTP\u670d\u52a1\u3002<\/p>\n<p>&emsp;&emsp;\u4ece\u672c\u7bc7\u6587\u7ae0\u5f00\u59cb\uff0c\u5c06\u5e26\u9886\u5927\u5bb6\u8fdb\u5165Go\u8bed\u8a00\u7684\u4e16\u754c\u3002<\/p>\n<h2>\u73af\u5883\u642d\u5efa<\/h2>\n<p>&emsp;&emsp;\u6211\u4eec\u53ef\u4ee5\u9009\u62e9\u4e0b\u8f7d\u6e90\u7801\u7f16\u8bd1\u5b89\u88c5\uff0c\u4e0b\u8f7d\u5b89\u88c5\u5305\u5b89\u88c5\uff0c\u4e0b\u8f7d\u7f16\u8bd1\u597d\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u4e0b\u8f7d\u5730\u5740\u4e3a\uff1a<a href=\"https:\/\/link.segmentfault.com\/?enc=0mG3%2B6T4iMgJ2qhIdGAyyw%3D%3D.YCMfMH4%2F89rfkjA1XUGXYmlVBwPXbkY%2Bcyajeb%2Fj4AE%3D\" rel=\"nofollow\">https:\/\/golang.google.cn\/dl\/<\/a><\/p>\n<p>&emsp;&emsp;\u7b14\u8005\u672c\u5730\u5b89\u88c5\u7684\u662fgo1.18.darwin-amd64.tar.gz\uff0c\u8fd9\u662f\u7f16\u8bd1\u597d\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u53ea\u9700\u8981\u89e3\u538b\u5373\u53ef\uff0c\u89e3\u538b\u5230\u76ee\u5f55 $HOME\/Documents\/go1.18\u3002\u6700\u540e\u518d\u914d\u7f6e\u4e0b\u73af\u5883\u53d8\u91cf\uff1a<\/p>\n<pre><code>export GOROOT=$HOME\/Documents\/go1.18\nexport PATH=$PATH:$GOROOT\/bin\nexport GOPATH=$HOME\/Documents\/gopath<\/code><\/pre>\n<p>&emsp;&emsp;$GOROOT\u662fGo\u7684\u5b89\u88c5\u76ee\u5f55\uff1b$PATH\u662f\u4e3a\u4e86\u8ba9\u6211\u4eec\u53ef\u4ee5\u5728\u4efb\u610f\u76ee\u5f55\u6267\u884cgo\u547d\u4ee4\uff1b$GOPATH\u5de5\u4f5c\u76ee\u5f55\uff0c\u901a\u8fc7go get\u547d\u4ee4\u4e0b\u8f7d\u7684\u4f9d\u8d56\u5305\u7b49\u5c31\u653e\u5728$GOPATH\u76ee\u5f55\uff0c\u57fa\u4e8egomod\u7ba1\u7406\u7684\u4f9d\u8d56\u6587\u4ef6\u4e5f\u4f1a\u653e\u5728\u8be5\u76ee\u5f55\u4e0b\u3002<\/p>\n<p>&emsp;&emsp;\u5b89\u88c5\u914d\u7f6e\u5b8c\u6210\u540e\uff0c\u6267\u884cgo version\u9a8c\u8bc1\u662f\u5426\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<p>&emsp;&emsp;Go\u9879\u76ee\u5f00\u53d1\u8fd8\u5c11\u4e0d\u4e86\u5408\u9002\u7684\u7f16\u8f91\u5668\uff0c\u63a8\u8350\u4f7f\u7528Goland\uff0c\u4e0b\u8f7d\u5730\u5740\u4e3a\uff1a<a href=\"https:\/\/link.segmentfault.com\/?enc=46E1qY0mBrSbyziEoNhlwA%3D%3D.NAK1W%2BeReJLVV%2FC%2BzBjjKnuNXA%2FGlKZXxuU%2F%2FNHCPbA%3D\" rel=\"nofollow\">https:\/\/www.jetbrains.com\/go\/<\/a>\u3002 \u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6253\u5f00Goland\u65b0\u5efa\u9879\u76ee\uff0c\u65b0\u5efamain.go\u6587\u4ef6\uff0c\u7f16\u5199\u7ecf\u5178\u7684hello world\uff1a<\/p>\n<pre><code>package main\n\nimport &quot;fmt&quot;\n\nfunc main() {\n  fmt.Println(&quot;hello world&quot;)\n}<\/code><\/pre>\n<p>&emsp;&emsp;Go\u8bed\u8a00\u6240\u6709\u6587\u4ef6\u90fd\u5fc5\u987b\u6307\u5b9a\u5176\u6240\u5728\u7684\u5305\uff0c\u5982\u4e0a&#8221;package main&#8221;\uff0c\u6211\u4eec\u79f0\u4e4b\u4e3amain\u5305\uff0c\u5f53\u7136\u5305\u540d\u4e5f\u53ef\u4ee5\u547d\u540d\u4e3a\u5176\u4ed6\u540d\u79f0\uff08\u4e00\u822c\u5305\u540d\u4e0e\u5f53\u524d\u6240\u5728\u76ee\u5f55\/\u6587\u4ef6\u5939\u540d\u79f0\u4fdd\u6301\u4e00\u81f4\uff09\uff0c\u800cmain\u5305\u91cc\u7684main\u51fd\u6570\u4e3a\u7a0b\u5e8f\u7684\u5165\u53e3\u51fd\u6570\u3002<\/p>\n<p>&emsp;&emsp;\u6211\u4eec\u7684\u4ee3\u7801\u80af\u5b9a\u4f1a\u4f9d\u7136\u5176\u4ed6\u6587\u4ef6\uff0c\u600e\u4e48\u5f15\u5165\u5462\uff1f\u901a\u8fc7&#8221;import \u5305\u540d&#8221;\u5f15\u5165\uff0c\u5f15\u5165\u540e\u624d\u80fd\u8bbf\u95ee\u8be5\u5305\u5185\u51fd\u6570\/\u53d8\u91cf\u3002\u5982\u4e0a\u9762\u4ee3\u7801\u6240\u793a\uff0cfmt\u5305\u662fGo\u8bed\u8a00\u5e95\u5c42\u63d0\u4f9b\u7684\u683c\u5f0f\u5316\/IO\u5305\uff0cPrintln\u51fd\u6570\u6253\u5370\u53d8\u91cf\u5230\u6807\u51c6\u8f93\u51fa\u3002<\/p>\n<h2>\u6570\u636e\u7c7b\u578b<\/h2>\n<p>&emsp;&emsp;Go\u8bed\u8a00\u6570\u636e\u7c7b\u578b\u5305\u62ec\u5e03\u5c14\u578b\uff0c\u6570\u5b57\u7c7b\u578b\uff08\u6574\u578b\u3001\u6d6e\u70b9\u578b\u3001\u590d\u6570\uff09\uff0c\u5b57\u7b26\u4e32\uff0c\u5207\u7247\uff08\u6570\u7ec4\uff09\uff0c\u5b57\u5178map\uff0c\u7ba1\u9053chan\u7b49\uff0c\u5404\u7c7b\u578b\u53d8\u91cf\u7684\u58f0\u660e\u4ee5\u53ca\u7b80\u5355\u4f7f\u7528\u5982\u4e0b\uff1a<\/p>\n<pre><code>package main\n\nimport &quot;fmt&quot;\n\nfunc main() {\n  \/\/\u53d8\u91cf\u58f0\u660e\n  var a int = 1 \/\/var \u58f0\u660e\u5e76\u521d\u59cb\u5316\u53d8\u91cf, \u7c7b\u578bint\u53ef\u4ee5\u7701\u7565\n  b := 1 \/\/:= \u58f0\u660e+\u521d\u59cb\u5316\u53d8\u91cf\n  b = 3 \/\/=\u53ea\u80fd\u9488\u5bf9\u5df2\u6709\u53d8\u91cf\u91cd\u65b0\u8d4b\u503c\n  fmt.Println(a, b)\n\n  \/\/\u5b57\u7b26\u4e32\n  str1 := &quot;hello &quot;\n  str2 := &quot;world&quot;\n  fmt.Println(len(str1), str1 + str2)  \/\/\u53ef\u4ee5 +\uff1blen\u8fd4\u56de\u5b57\u7b26\u4e32\u957f\u5ea6\n\n  \/\/\u6570\u7ec4\uff0c\u5bb9\u91cf\u56fa\u5b9a\n  arr := [5]int{1,2,3,4,5}\n  arr[1] = 100 \/\/\u6570\u7ec4\u5143\u7d20\u8bbf\u95ee\n  fmt.Println(len(arr), arr) \/\/len\u8fd4\u56de\u6570\u7ec4\u957f\u5ea6\n\n  \/\/\u5207\u7247\uff0c\u5bb9\u91cf\u53ef\u4ee5\u6269\u5145\uff0c\u76f8\u5f53\u4e8e\u52a8\u6001\u6570\u7ec4\n  slice := []int{1,2,3}\n  slice[1] = 100 \/\/\u5207\u7247\u5143\u7d20\u8bbf\u95ee\n  slice = append(slice, 4, 5, 6) \/\/append\u81ea\u52a8\u6269\u5bb9\n  fmt.Println(len(slice),cap(slice), slice) \/\/len\u8fd4\u56de\u5207\u7247\u957f\u5ea6\uff0ccap\u8fd4\u56de\u5207\u7247\u5bb9\u91cf\n\n  \/\/map\uff0ckey-value\u7ed3\u6784\n  score := map[string]int{\n    &quot;zhangsan&quot;:100,\n    &quot;lisi&quot;:99,\n    &quot;wangwu&quot;:98,\n  }\n  score[&quot;who&quot;] = 90 \/\/map\u8d4b\u503c\n  s, ok := score[&quot;who&quot;] \/\/map\u8bbf\u95ee\uff0cs\u5bf9\u5e94value\u503c\uff0cok\u6807\u8bc6\u8be5key\u662f\u5426\u5b58\u5728\uff08\u4e0d\u5b58\u5728\u8fd4\u56de\u7a7a\u503c\uff09\n  delete(score, &quot;lisi&quot;) \/\/\u5220\u9664map\u5143\u7d20\n  fmt.Println(s, ok, score)\n}<\/code><\/pre>\n<p>&emsp;&emsp;\u8fd9\u91cc\u5e76\u6ca1\u6709\u7ed9\u51fa\u7ba1\u9053chan\u7684\u4e8b\u4f8b\uff0c\u8fd9\u5c06\u5728\u7b2c\u4e8c\u7ae0\u5e76\u53d1\u6a21\u578b\u8be6\u7ec6\u4ecb\u7ecd\u3002\u5f53\u7136\u9664\u4e86Go\u8bed\u8a00\u63d0\u4f9b\u7684\u8fd9\u4e9b\u57fa\u672c\u7c7b\u578b\uff0c\u6211\u4eec\u4e5f\u53ef\u4ee5\u81ea\u5b9a\u4e49\u7c7b\u578b\uff0c\u5982\u63a5\u53e3\uff0c\u7ed3\u6784\u4f53\u7b49\uff0c\u8fd9\u4e9b\u4e5f\u5c06\u5728\u540e\u9762\u7ae0\u8282\u4ecb\u7ecd\u3002<\/p>\n<h2>\u5206\u652f\u7ed3\u6784<\/h2>\n<p>&emsp;&emsp;\u4e0e\u5176\u4ed6\u8bed\u8a00\u7c7b\u4f3c\uff0cGo\u8bed\u8a00\u540c\u6837\u652f\u6301if\/switch\u5206\u652f\u7ed3\u6784\uff0cfor\u5faa\u73af\u7ed3\u6784\uff0c\u5982\u4e0b\u9762\u6240\u793a\uff1a<\/p>\n<pre><code>package main\n\nimport &quot;fmt&quot;\n\nfunc main() {\n  \/\/if\u5206\u652f\n  condition := true\n  if condition {\n    fmt.Println(&quot;true&quot;)\n  }else{\n    fmt.Println(&quot;false&quot;)\n  }\n\n  \/\/wsith\u5206\u652f\n  expr := &quot;zhangsan&quot;\n  switch expr {\n  case &quot;zhangsan&quot;:\n    fmt.Println(&quot;zhangsan&quot;)\n  case &quot;lisi&quot;:\n    fmt.Println(&quot;lisi&quot;)\n  default: \/\/\u6ca1\u6709\u5339\u914d\u5230\uff0c\u9ed8\u8ba4\u6267\u884c\n    fmt.Println(&quot;who&quot;)\n  }\n\n  \/\/for\u5faa\u73af\n  for i := 0; i &lt; 100; i ++ {\n    if i \/2 == 0 {\n      fmt.Println(&quot;\u5076\u6570&quot;)\n    }\n  }\n\n  \/\/\u65e0\u6761\u4ef6\u5faa\u73af\uff0c\u6b7b\u5faa\u73af\n  i := 0\n  for {\n    i ++\n    fmt.Println(&quot;loop&quot;)\n    if i &gt; 100 { \/\/\u68c0\u6d4b\u6761\u4ef6\uff0c\u63d0\u524dbreak\u9000\u51fa\u5faa\u73af\n      break\n    }\n  }\n}<\/code><\/pre>\n<h2>\u51fd\u6570<\/h2>\n<p>&emsp;&emsp;\u51fd\u6570\u7684\u5b9a\u4e49\uff0c\u5982\u540d\u79f0\uff0c\u5165\u53c2\uff0c\u8fd4\u56de\u503c\u7b49\u57fa\u672c\u6982\u5ff5\u8fd9\u91cc\u5c31\u4e0d\u505a\u8fc7\u591a\u4ecb\u7ecd\u4e86\uff0cGo\u8bed\u8a00\u4e0e\u5176\u4ed6\u8bed\u8a00\u4e0d\u540c\u7684\u5730\u65b9\u5728\u4e8e\uff0c\u5176\u652f\u6301\u591a\u8fd4\u56de\u503c\uff08\u5927\u90e8\u5206\u8bed\u8a00\u53ea\u80fd\u8fd4\u56de\u4e00\u4e2a\u503c\uff09\uff0c\u4ee5\u53ca\u53ef\u53d8\u53c2\u6570\uff08\u5927\u90e8\u5206\u8bed\u8a00\u5176\u5b9e\u4e5f\u652f\u6301\uff09\uff0c\u53e6\u5916Go\u8bed\u8a00\u8fd8\u652f\u6301\u95ed\u5305\uff08\u533f\u540d\u51fd\u6570\uff09\uff0c\u5b9e\u4f8b\u5982\u4e0b\uff1a<\/p>\n<pre><code>package main\n\nimport &quot;fmt&quot;\n\nfunc main() {\n  add, sub := addSub(4, 3)\n  fmt.Println(add, sub)\n\n  sum(1, 2, 3)\n  \n  nums := []int{1, 2, 3, 4}\n  sum(nums...) \/\/\u5207\u7247\u8f6c\u53ef\u53d8\u53c2\u6570\uff0c\u901a\u8fc7...\u5b9e\u73b0\n\n  \/\/\u53d8\u91cff\u4e3a\u51fd\u6570\u7c7b\u578b\n  f := func (in string) {\n    fmt.Println(in)\n  }\n  f(&quot;hello world&quot;) \/\/\u6267\u884c\u51fd\u6570\n\n  \/\/\u58f0\u660e\u533f\u540d\u51fd\u6570\uff0c\u6ce8\u610f\u4e0e\u4e0a\u9762\u5374\u522b\uff0c\u52a0\u62ec\u53f7\u76f4\u63a5\u6267\u884c\u8be5\u533f\u540d\u51fd\u6570\n  func (in string) {\n    fmt.Println(in)\n  }(&quot;hello world&quot;)\n}\n\n\/\/\u8fd4\u56de\u4e24\u4e2aint\u503c\nfunc addSub(a, b int) (int, int){\n  return a + b, a - b\n}\n\n\/\/...\u8868\u793a\u53c2\u6570\u6570\u76ee\u53ef\u53d8\nfunc sum(nums ...int) {\n  total := 0\n  \/\/nums\u5176\u5b9e\u662f\u5207\u7247\u7c7b\u578b\uff08[]int\uff09\uff0cfor + range \u53ef\u904d\u5386\u5207\u7247\u5143\u7d20\n  for _, num := range nums {\n    total += num\n  }\n  fmt.Println(total)\n}<\/code><\/pre>\n<h2>\u534f\u7a0b\u5e76\u53d1<\/h2>\n<p>&emsp;&emsp;Go\u8bed\u8a00\u5929\u7136\u5177\u5907\u5e76\u53d1\u7279\u6027\uff0c\u57fa\u4e8ego\u5173\u952e\u5b57\u5c31\u80fd\u5f88\u65b9\u4fbf\u7684\u521b\u5efa\u534f\u7a0b\u53bb\u6267\u884c\u4e00\u4e9b\u5e76\u53d1\u4efb\u52a1\u3002\u4e0b\u9762\u7a0b\u5e8f\u521b\u5efa10\u4e2a\u534f\u7a0b\u5e76\u53d1\u6267\u884c\u4efb\u52a1\uff0c\u4e3b\u534f\u7a0b\u7b49\u5f85\u5404\u5b50\u534f\u7a0b\u6267\u884c\u7ed3\u675f\u540e\uff0c\u4e5f\u81ea\u52a8\u9000\u51fa\uff1a<\/p>\n<pre><code>package main\n\nimport (\n  &quot;fmt&quot;\n  &quot;sync&quot;\n)\n\nfunc main() {\n  \/\/WaitGroup\u7528\u4e8e\u534f\u7a0b\u5e76\u53d1\u63a7\u5236\n  wg := sync.WaitGroup{}\n  \/\/\u542f\u52a810\u4e2a\u534f\u7a0b\u5e76\u53d1\u6267\u884c\u4efb\u52a1\n  for i := 0; i &lt; 10; i ++ {\n    \/\/\u6807\u8bb0\u4efb\u52a1\u5f00\u59cb\n    wg.Add(1)\n    go func(a int) {\n      fmt.Println(fmt.Sprintf(&quot;work %d exec&quot;, a))\n      \/\/\u6807\u8bb0\u4efb\u52a1\u7ed3\u675f\n      wg.Done()\n    }(i)\n  }\n  \/\/\u4e3b\u534f\u7a0b\u7b49\u5f85\u4efb\u52a1\u7ed3\u675f\n  wg.Wait()\n  fmt.Println(&quot;main end&quot;)\n}<\/code><\/pre>\n<h2>\u603b\u7ed3<\/h2>\n<p>&emsp;&emsp;\u672c\u7bc7\u4f5c\u4e3a\u6df1\u5165\u7406\u89e3Go\u8bed\u8a00\u7cfb\u5217\u7b2c\u4e00\u7bc7\uff0c\u7b80\u5355\u4ecb\u7ecd\u4e86Go\u8bed\u8a00\u7684\u57fa\u672c\u8bed\u6cd5\uff0c\u5305\u62ec\u57fa\u672c\u6570\u636e\u7c7b\u578b\uff0c\u5206\u652f\u7ed3\u6784\uff0c\u51fd\u6570\u7b49\u57fa\u672c\u6982\u5ff5\uff0c\u65e8\u5728\u8ba9\u4f60\u5bf9Go\u8bed\u8a00\u80fd\u6709\u521d\u6b65\u8ba4\u8bc6\uff0c\u4ece\u4e0b\u4e00\u7bc7\u5f00\u59cb\uff0c\u6211\u4eec\u5c06\u5f00\u59cbGo\u8bed\u8a00\u7684\u5168\u9762\u63a2\u7d22\u3002<\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000042461965\">https:\/\/segmentfault.com\/a\/1190000042461965<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&emsp;&emsp;Go\u8bed\u8a00\u662fGoogle\u5f00\u53d1\u7684\u4e00\u79cd\u9759\u6001\u5f3a\u7c7b\u578b\u3001\u7f16\u8bd1\u578b\u3001\u5e76\u53d1\u578b\uff0c\u5e76\u5177\u6709\u5783\u573e\u56de\u6536\u529f\u80fd\u7684\u7f16\u7a0b\u8bed [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[],"tags":[],"class_list":["post-10006463","post","type-post","status-publish","format-standard","hentry"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10006463","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"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10006463"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10006463\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10006463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10006463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10006463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}