改正变量名

This commit is contained in:
vv1133
2016-03-19 15:19:17 +08:00
parent 87f2e489e7
commit 994433ea7c

View File

@@ -93,8 +93,8 @@ func main() {
// NOT OK
z := make(Bar) // 编译错误cannot make type Bar
(*y).thingOne = "hello"
(*y).thingTwo = 1
(*z).thingOne = "hello"
(*z).thingTwo = 1
// OK
x := make(Foo)