今天主要是总结一些不懂的东西
------------------------------------------------------
<span style="white-space:pre"> </span>s := "pengjian"
<span style="color:#ff0000;">a := []rune(s) //???,字符串相当于常量,转化为动态变化的数组??</span>
for i,j := 0,len(a)-1; i<j; i,j = i+1,j-1{
a[i],a[j] = a[j],a[i];
}
<span style="white-space:pre"> </span>fmt.Printf("%s\n",string(a))