Open
Description
Hi, I'm new to go, but I can't compile source code from 'Functions As Values And Closures' chapter.
I had to change:
outer_var = 444
to outer_var := 444
,
func outer() func() int, int{
to func outer() (func() int, int){
and in both another_scope
and outer
functions I'm facing undefined foo
error. Am I doing smth wrong?
My go version
output is go version go1.4.2 linux/amd64
Metadata
Metadata
Assignees
Labels
No labels