package main
import "fmt"
func main() {
var i = []float64{1,8,2}
var f = []float64{1,8,2}
y : = i[2] + f[2]
fmt.Println(y)
}
运行是报错:
# command-line-arguments
./ht.go:9: syntax error: missing statement after label
-----------------
谁能指导下问啥报错!