{"id":230917,"date":"2020-12-28T16:56:39","date_gmt":"2020-12-28T08:56:39","guid":{"rendered":"http:\/\/4563.org\/?p=230917"},"modified":"2020-12-28T16:56:39","modified_gmt":"2020-12-28T08:56:39","slug":"go2-%e6%b3%9b%e5%9e%8b%e8%ae%be%e8%ae%a1%e8%8d%89%e6%a1%88%e6%9b%b4%e6%96%b0","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=230917","title":{"rendered":"Go2 \u6cdb\u578b\u8bbe\u8ba1\u8349\u6848\u66f4\u65b0"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  Go2 \u6cdb\u578b\u8bbe\u8ba1\u8349\u6848\u66f4\u65b0               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : songtianyi <\/span>  <span><i><\/i> 9<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<h1>Go2 \u6cdb\u578b\u8bbe\u8ba1\u8349\u6848\u66f4\u65b0<\/h1>\n<p> <\/p>\n<p>\u4f5c\u8005: songtianyi [email&#160;protected]\/12\/03<\/p>\n<h3>\u524d\u8a00<\/h3>\n<p>18 \u5e74\u7684\u65f6\u5019\uff0cgo team \u53d1\u5e03\u4e86 Go2 \u7684\u51e0\u4e2a\u65b0\u7279\u6027\u7684\u8349\u6848\uff0c\u5176\u4e2d\u5305\u62ec\u547c\u58f0\u8f83\u9ad8\u7684\u6cdb\u578b\uff0c\u5f53\u65f6\u5199\u4e86\u4e00\u7bc7\u6587\u7ae0\u505a\u4e86\u4ecb\u7ecd\u3002\u6700\u8fd1 Go team \u5bf9\u6cdb\u578b\u7684\u8bbe\u8ba1\u8349\u6848\u8fdb\u884c\u4e86\u8f83\u5927\u7684\u6539\u52a8\uff0c\u6709\u5fc5\u8981\u66f4\u65b0\u4e0b\u8fd9\u4e2a\u6539\u52a8\u5e76\u5206\u4eab\u51fa\u6765\u3002<\/p>\n<h3>contracts<\/h3>\n<p>\u5728 18 \u5e74\u91ca\u51fa\u7684\u8349\u6848\u4e2d\uff0c\u662f\u4f7f\u7528 <code>contract<\/code> \u6765\u7ea6\u675f\u6cdb\u578b\u7684\u7c7b\u578b\u53c2\u6570(type parameters)\u7684\uff0c\u6700\u65b0\u7684\u8349\u6848\u653e\u5f03\u4e86\u8fd9\u79cd\u505a\u6cd5, \u7528\u5df2\u6709\u7684\u6982\u5ff5 <code>interface<\/code> \u4ee3\u66ff\u3002 \u5728\u7ee7\u7eed\u4e4b\u524d\uff0c\u5148\u6765\u719f\u6089 <code>type parameter<\/code> \u8fd9\u4e2a\u6982\u5ff5:<\/p>\n<blockquote>\n<p>Generic code is code that is written using types that will be specified later. Each unspecified type is called a type parameter. When running the generic code, the type parameter will be set to a type argument.<\/p>\n<\/blockquote>\n<p>\u597d\uff0c\u7ee7\u7eed\u3002\u56de\u987e\u4e0b <code>contract<\/code> \u5f62\u5f0f\u7684\u4f8b\u5b50:<\/p>\n<pre><code>contract stringer(T) {  T String() string }  func Stringify(type T stringer)(s []T) (ret []string) {  for _, v := range s {   ret = append(ret, v.String()) \/\/ now valid  }  return ret }  strSlice = []string{}  <\/code><\/pre>\n<p>\u4e0a\u8ff0\u4ee3\u7801\u7ea6\u675f\u4e86\u5165\u53c2 s \u7684\u7c7b\u578b T \u5fc5\u987b\u662f\u5b9e\u73b0\u4e86 String \u51fd\u6570\u7684\u7c7b\u578b<\/p>\n<h3>interface<\/h3>\n<p>\u90a3\u4e48\u6539\u7528 interface \u4e4b\u540e\u600e\u4e48\u505a\uff1f<\/p>\n<pre><code>\/\/ Stringer is a type constraint that requires the type argument to have \/\/ a String method and permits the generic function to call String. \/\/ The String method should return a string representation of the value. type Stringer interface {  String() string }  \/\/ Stringify calls the String method on each element of s, \/\/ and returns the results. func Stringify[T Stringer](s []T) (ret []string) {  for _, v := range s {   ret = append(ret, v.String())  }  return ret }  <\/code><\/pre>\n<p>\u4e0a\u8ff0\u4ee3\u7801\uff0c\u4f7f\u7528 <code>Stringer<\/code> interface \u6765\u7ea6\u675f\u5165\u53c2 s \u7684\u7c7b\u578b T \u5fc5\u987b\u662f\u5b9e\u73b0\u4e86 <code>String() string<\/code> \u51fd\u6570\u7684\u7c7b\u578b\u3002 \u9664\u4e86\u4f7f\u7528\u81ea\u5b9a\u4e49\u7684 interface \u6765\u7ea6\u675f\u4e4b\u5916\uff0cGo \u5185\u7f6e\u4e86 <code>any<\/code> \u6765\u6307\u660e\u5165\u53c2\u662f\u53ef\u4ee5\u4e3a\u4efb\u610f\u7c7b\u578b\u7684, \u5f53\u6211\u4eec\u4e0d\u9700\u8981\u7ea6\u675f\u7684\u65f6\u5019\u53ef\u4ee5\u4f7f\u7528 <code>any<\/code> \u6765\u7ef4\u6301\u5199\u6cd5\u7684\u4e00\u81f4\u6027, <code>any<\/code> \u76f8\u5f53\u4e8e <code>interface{}<\/code> \u3002<\/p>\n<pre><code>\/\/ Print prints the elements of any slice. \/\/ Print has a type parameter T and has a single (non-type) \/\/ parameter s which is a slice of that type parameter. func Print[T any](s []T) {     for _, v := range s {   fmt.Println(v)  } } <\/code><\/pre>\n<p>interface \u6211\u4eec\u7ecf\u5e38\u4f1a\u7528\u5230\uff0c\u662f\u4e00\u4e2a\u5df2\u7ecf\u975e\u5e38\u719f\u6089\u7684\u6982\u5ff5\uff0c\u800c\u4e14\u4f7f\u7528 interface \u53ef\u4ee5\u907f\u514d\u4e0d\u5fc5\u8981\u7684\u91cd\u590d\u5b9a\u4e49\u7684\u60c5\u51b5\u3002\u4ee5\u4e0a\u9762\u7684 <code>Stringer<\/code> \u4e3a\u4f8b\uff0c\u5bf9 <code>Stringify<\/code> \u51fd\u6570\uff0c\u5982\u679c\u4f7f\u7528 contract \u6765\u8fdb\u884c\u7ea6\u675f\uff0c\u6211\u4eec\u9700\u8981\u5b9a\u4e49:<\/p>\n<pre><code>\/\/ \u7ea6\u675f contract stringer_c(T) {  T String() string }  \/\/ Stringer \u63a5\u53e3 type Stringer interface {  String() string }  \/\/ \u5165\u53c2 s \u88ab\u7ea6\u675f\u4e3a\u5b9e\u73b0\u4e86 String() string \u51fd\u6570\u7684\u7c7b\u578b func Stringify[T stringer_c](s []T) (ret []string) {  for _, v := range s {   ret = append(ret, v.String())  }  return ret }  \/\/ \u5b9e\u73b0\u4e86 String() string \u7684\u7ed3\u6784\u4f53 type IStringer struct {  v string }  \/\/ String() string \u5b9e\u73b0 func (i *IStringer) String() string {  return v }  var i_stringer IStringer Stringfy(i_stringer) \/\/ \u5408\u6cd5\u5165\u53c2 <\/code><\/pre>\n<p>\u4ece\u4e0a\u9762\u7684\u4ee3\u7801\u53ef\u4ee5\u770b\u51fa\uff0c <code>stringer_c<\/code> contract \u5176\u5b9e\u548c <code>Stringer<\/code> interface \u662f\u91cd\u590d\u7684\u3002 \u8fd9\u548c <code>Stringer<\/code> interface \u7684\u5b9a\u4e49\u5176\u5b9e\u662f\u91cd\u590d\u7684\u3002<\/p>\n<p>\u770b\u5230\u8fd9\u91cc\u662f\u4e0d\u662f\u89c9\u5f97\u8fd9\u4e2a\u6539\u52a8\u8fd8\u662f\u5f88\u68d2\u7684\uff1f\u76f8\u5bf9 contract \u6765\u8bf4\uff0cinterface \u66f4\u597d\u7406\u89e3\uff0c\u6709\u65f6\u5019\u4e5f\u53ef\u4ee5\u7701\u6389\u91cd\u590d\u7684\u5b9a\u4e49\u3002 \u4f46\u662f\uff0cinterface \u53ea\u80fd\u5b9a\u4e49\u51fd\u6570\uff0c\u56e0\u6b64\uff0c\u6211\u4eec\u53ea\u80fd\u4f7f\u7528 interface \u6765\u7ea6\u675f T \u5fc5\u987b\u5b9e\u73b0\u7684\u51fd\u6570\uff0c\u800c\u4e0d\u80fd\u7ea6\u675f T \u6240\u80fd\u652f\u6301\u7684\u8fd0\u7b97\u3002 \u4f7f\u7528 contract \u6765\u7ea6\u675f\u7c7b\u578b\u53c2\u6570\u6240\u652f\u6301\u7684\u8fd0\u7b97\u7b26\u7684\u4f8b\u5b50:<\/p>\n<pre><code>\/\/ comparable contract contract ordered(t T) {   t &lt; t } func Smallest[T ordered](s []T) T {  r := s[0] \/\/ panic if slice is empty  for _, v := range s[1:] {   if v &lt; r { \/\/ OK    r = v   }  }  return r } <\/code><\/pre>\n<p>\u5f88\u65b9\u4fbf\u3002 \u4f46\u4f7f\u7528 interface \u5c31\u6ca1\u90a3\u4e48\u65b9\u4fbf\u4e86:<\/p>\n<pre><code>package constraints  \/\/ Ordered is a type constraint that matches any ordered type. \/\/ An ordered type is one that supports the &lt;, &lt;=, &gt;, and &gt;= operators. type Ordered interface {  type int, int8, int16, int32, int64,   uint, uint8, uint16, uint32, uint64, uintptr,   float32, float64,   string }  \/\/ Smallest returns the smallest element in a slice. \/\/ It panics if the slice is empty. func Smallest[T constraints.Ordered](s []T) T {  r := s[0] \/\/ panics if slice is empty  for _, v := range s[1:] {   if v &lt; r {    r = v   }  }  return r } <\/code><\/pre>\n<blockquote>\n<p>\u8981\u5199\u4e00\u5927\u5806&#8230; \u5fc3\u91cc\u4e00\u9635 mmp&#8230; \u5148\u522b\u614c!<\/p>\n<\/blockquote>\n<p><code>Ordered<\/code> interface \u91cc\u5217\u51fa\u6765\u7684\u7c7b\u578b\u662f <code>Ordered<\/code> \u7ea6\u675f\u53ef\u4ee5\u63a5\u53d7\u7684\u7c7b\u578b\u53c2\u6570\u3002\u7531\u6b64\u770b\u6765\uff0c\u9488\u5bf9\u8fd0\u7b97\u7b26\u7684\u7ea6\u675f\u5199\u8d77\u6765\u53d8\u7684\u66f4\u590d\u6742\u4e86\uff0c\u5e78\u8fd0\u7684\u662f\uff0cgo \u4f1a\u5185\u7f6e\u5e38\u7528\u7684\u7ea6\u675f, <strong>\u4e0d\u7528\u6211\u4eec\u81ea\u5df1\u6765\u5199<\/strong>. \u800c\u4e14\uff0c\u7ea6\u675f\u662f\u53ef\u4ee5\u7ec4\u5408\u7684:<\/p>\n<pre><code>\/\/ ComparableHasher is a type constraint that matches all \/\/ comparable types with a Hash method. type ComparableHasher interface {  comparable  Hash() uintptr } <\/code><\/pre>\n<p>\u4e0a\u8ff0\u4ee3\u7801\u662f\u4e00\u4e2a\u7ea6\u675f\uff0c\u5b83\u7ea6\u675f\u7c7b\u578b\u53c2\u6570\u5fc5\u987b\u662f\u53ef\u6bd4\u8f83\u7684\uff0c\u800c\u4e14\u5b9e\u73b0\u4e86 <code>Hash() uintptr<\/code> \u51fd\u6570\u3002<\/p>\n<pre><code>\/\/ StringableSignedInteger is a type constraint that matches any \/\/ type that is both 1) defined as a signed integer type; \/\/ 2) has a String method. type StringableSignedInteger interface {  type int, int8, int16, int32, int64  String() string } <\/code><\/pre>\n<p>\u7c7b\u4f3c\u5730\uff0c\u53ef\u4ee5\u5c06\u53ef\u63a5\u53d7\u7684\u7c7b\u578b\u5217\u8868(type list)\u548c\u51fd\u6570\u7ea6\u675f\u653e\u5728\u4e00\u8d77\u3002<\/p>\n<p>\u8bb2\u5230\u8fd9\u91cc\uff0c\u5173\u4e8e\u6cdb\u578b\u6539\u52a8\u7684\u6838\u5fc3\u5185\u5bb9\u5df2\u7ecf\u8bb2\u5b8c\u4e86\uff0c\u66f4\u590d\u6742\u7684\u7528\u6cd5\u53ef\u4ee5\u67e5\u770b\u6587\u6863 go2draft-type-parameters.<\/p>\n<p>\u4e2a\u4eba\u8ba4\u4e3a\uff0c\u8fd9\u4e2a\u6539\u52a8\u662f\u4e00\u4e2a\u6bd4\u8f83\u6210\u529f\u7684\u6539\u52a8\uff0c\u6ca1\u6709\u5f15\u5165\u65b0\u7684\u6982\u5ff5\uff0c\u901a\u8fc7\u5185\u7f6e\u4e00\u4e9b\u7ea6\u675f\uff0c\u652f\u6301\u7ea6\u675f\u7ec4\u5408\u6765\u65b9\u4fbf\u5f00\u53d1\u8005\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>17<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4521151\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zxCoder <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u52a0\u4e2a\u6cdb\u578b\u6709\u8fd9\u4e48\u590d\u6742\u5417\uff1f \u597d\u5947\u602a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4521152\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wysnylc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @zxCoder #1 \u6709,\u56e0\u4e3a\u6700\u521d\u7248\u672c\u7684\u8bbe\u8ba1\u662f\u4e0d\u52a0\u6cdb\u578b<br \/>\u4ece 2010 \u5e74\u5c31\u6709\u6cdb\u578b\u7684\u63d0\u6848,\u76f4\u5230\u73b0\u5728\u4e5f\u6ca1\u8f6c\u6b63\u6240\u4ee5\u4f60\u61c2 google \u90a3\u7fa4\u4eba\u7684\u610f\u601d\u4e86\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4521153\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : songtianyi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5185\u5bb9\u66f4\u6b63:<br \/>Stringfy(i_stringer) \/\/ \u5408\u6cd5\u5165\u53c2 \u27a1\ufe0f Stringfy([]IStringer{i_stringer}) \/\/ \u5408\u6cd5\u5165                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4521154\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : luob <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u201c\u540c\u610f\u52a0\u6cdb\u578b\u7684\u70b9\u8d5e\uff0c\u4e0d\u540c\u610f\u52a0\u6cdb\u578b\u7684\u70b9\u8e29\u201d<br \/>\u201c\u6211\u540c\u610f\u52a0\u6cdb\u578b\uff0c\u53ef\u6211\u5bf9\u6bcf\u4e2a\u6cdb\u578b\u8349\u6848\u90fd\u70b9\u4e86\u8e29\u201d<br \/>\u201c\u90a3\u60a8\u5feb\u8bf7\u52a0\u5165\u5230 go \u6838\u5fc3\u56e2\u961f\u6765\u201d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4521155\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 12101111 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u548c rust \u7684 trait \u4e00\u6837\u554a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4521156\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Jirajine <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             &gt;\u4e0d\u80fd\u7ea6\u675f T \u6240\u80fd\u652f\u6301\u7684\u8fd0\u7b97<br \/>T \u652f\u6301 xx \u8fd0\u7b97\u548c\u5b9e\u73b0 xx \u65b9\u6cd5\u672c\u6765\u5c31\u662f\u4e00\u56de\u4e8b\uff0c\u4e3a\u4ec0\u4e48\u975e\u8981\u641e\u4e24\u4e2a\u6982\u5ff5\u5462\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4521157\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lewis89 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5012\u662f\u7ed9\u4e2a\u6cdb\u578b\u53d1\u7248\u7684\u65f6\u95f4\u554a\uff0c\u90fd\u8fd9\u4e48\u4e45\u4e86 \u8fd8\u6ca1\u53d1\u5e03 2.0 \u7684\u610f\u601d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4521158\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zxCoder <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @wysnylc \u6cdb\u578b\u8fd9\u4e1c\u897f\u5230\u5e95\u6709\u5565\u5751\u5417\uff1f \u6309\u9053\u7406\u641e\u4e00\u4e2a\u7f16\u7a0b\u8bed\u8a00\u51fa\u6765\u4e0d\u5e94\u8be5\u662f\u53d6\u5176\u4ed6\u8bed\u8a00\u4e4b\u7cbe\u534e\u53bb\u5176\u7cdf\u7c95                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4521159\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : songtianyi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @Jirajine \u56e0\u4e3a\u4fee\u6539\u540e\u7684\u65b9\u6848\u662f \u4f7f\u7528 \u5df2\u6709\u7684\u6982\u5ff5\uff0cinterface \u5df2\u6709\u7684\u6982\u5ff5\u91cc\u662f\u6ca1\u6709\u8fd9\u4e9b\u4e1c\u4e1c\u7684\u3002<br \/>&#8220;`<br \/>type Ordered interface {<br \/> type int, int8, int16, int32, int64,<br \/> uint, uint8, uint16, uint32, uint64, uintptr,<br \/> float32, float64,<br \/> string<br \/>}<br \/>&#8220;`<br \/>\u6240\u4ee5\u4ee5\u9012\u8fdb\u7684\u5f62\u5f0f\u6765\u8bb2\u3002\u4e8b\u5b9e\u4e0a\uff0c\u50cf\u4f60\u8bf4\u7684\uff0c\u672c\u6765\u5c31\u662f\u4e00\u56de\u4e8b\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4521160\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 12101111 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u5f88\u597d\u5947\u672a\u6765 go \u7684\u7c7b\u578b\u7cfb\u7edf\u4f1a\u4e0d\u4f1a\u8fdb\u4e00\u6b65\u6f14\u8fdb, \u6bd4\u5982 generic associated types, higher-kinded types                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4521161\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : victor <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5e0c\u671b 2030 \u5e74\u540e\u518d\u6dfb\u52a0\u6cdb\u578b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4521162\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : songtianyi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @12101111 \u6211\u89c9\u5f97\u4e0d\u4f1a\uff0c\u7c7b\u578b\u7cfb\u7edf\u662f\u4e00\u4e2a\u8bed\u8a00\u7684\u6700\u4e3b\u8981\u7684\u7279\u5f81\u4e4b\u4e00\uff0c\u6539\u591a\u4e86\u5c31\u4e0d\u662f go \u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4521163\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : songtianyi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @12101111 \u662f\u633a\u50cf\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4521164\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : aloxaf <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @12101111 <br \/>\u4f60\u8fd9\u4e2a\u597d\u5947\u4e5f\u592a\u79bb\u8c31\u4e86\u70b9\u3002\u4f60\u4e0d\u5982\u597d\u5947\u7f8e\u56fd\u4ec0\u4e48\u65f6\u5019\u4f1a\u8d70\u793e\u4f1a\u4e3b\u4e49\u9053\u8def\uff0c\u6211\u89c9\u5f97\u8fd9\u90fd\u6bd4 Go \u52a0 HKT \u8981\u73b0\u5b9e\u2026\u2026                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4521165\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zjsxwc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7b2c\u4e8c\u79cd\u65b9\u6cd5\uff0c\u7528 interface \u66f4\u52a0\u5bb9\u6613\u7406\u89e3\uff0c\u6211\u7ad9\u7b2c\u4e8c\u79cd\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4521166\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : laball <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u611f\u89c9\u8bed\u8a00\u7279\u6027\u53d1\u5c55\u8fc7\u7a0b\u4e2d\uff0c\u6709\u4e00\u79cd\u5f0a\u75c5\uff0c\u5c31\u662f\u522b\u4eba\u5df2\u7ecf\u7528\u4e86\u8fd9\u79cd\u65b9\u5f0f\uff0c\u6211\u5c31\u5f97\u4e0d\u4e00\u6837\uff0c\u4e0d\u7136\u663e\u5f97\u662f\u5728\u6284\u4f5c\u4e1a\u3002<br \/>\u6211\u5c31\u60f3\u8bf4\uff0c\u8fd8 TM \u5acc\u62ec\u53f7\u4e0d\u591f\u591a\u561b\uff0c\u52a0\u4e2a\u7279\u6027\uff0c\u52a0\u4e00\u7ec4\u62ec\u53f7\uff0c\u8fd9\u662f\u8981\u5e72\u5565\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4521167\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : songtianyi <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @laball \u770b\u4e86\u6837\u4f8b\u4ee3\u7801\uff0c\u786e\u5b9e\u773c\u82b1\u7f2d\u4e71\u7684                                                             <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>Go2 \u6cdb\u578b\u8bbe\u8ba1\u8349\u6848\u66f4\u65b0 \u8cc7\u6df1\u5927\u4f6c&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/230917"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=230917"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/230917\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=230917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=230917"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=230917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}