- What version of Go are you using (
go version)?
go version go1.6.2 darwin/amd64
- What operating system and processor architecture are you using (
go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/mlowicki/projects/golang/hello"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GO15VENDOREXPERIMENT="1"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"
CXX="clang++"
CGO_ENABLED="1"
- What did you do?
https://play.golang.org/p/aX9ZT1kspY
- What did you expect to see?
Error:
prog.go:4: label End not defined
so the same as with:
package main
func main() {
goto End
}
which causes "label End not defined" error.
- What did you see instead?
Two errors:
prog.go:4: label End not defined
prog.go:8: label End·1 not defined
go version)?go env)?https://play.golang.org/p/aX9ZT1kspY
Error:
prog.go:4: label End not defined
so the same as with:
which causes "label End not defined" error.
Two errors:
prog.go:4: label End not defined
prog.go:8: label End·1 not defined