diff options
author | kb <kb@netoffense.com> | 2014-09-22 12:11:49 +0000 |
---|---|---|
committer | kb <kb@netoffense.com> | 2014-09-22 12:11:49 +0000 |
commit | 5e5a7a19feb42afad6b678cc970db2ea248fcc9b (patch) | |
tree | 5c3df22780fb3cd857a8f7695df0772c39a49f89 /zh-cn/php-cn.html.markdown | |
parent | 41c3d0329a8149340a0703209ba948e45135e239 (diff) |
[go] Fix no new variables on left side of :=
Cannot short declaration twice without at least one new var. Also changing type from string to slice.
$ go run learnxiny.go
# command-line-arguments
./learnxiny.go:83: no new variables on left side of :=
./learnxiny.go:83: cannot use []int literal (type []int) as type string in assignment
./learnxiny.go:84: first argument to append must be slice; have string
./learnxiny.go:90: first argument to append must be slice; have string
Diffstat (limited to 'zh-cn/php-cn.html.markdown')
0 files changed, 0 insertions, 0 deletions