Merge pull request #300 from oxbambooxo/patch-1

FIX 10.6.9
This commit is contained in:
无闻
2016-12-24 13:22:55 -05:00
committed by GitHub

View File

@@ -648,7 +648,7 @@ Go 不需要一个显式的类定义,如同 Java、C++、C# 等那样,相反
```go
type Integer int
func (i *Integer) String() string {
return strconv.Itoa(i)
return strconv.Itoa(int(*i))
}
```