Creating Closures with Anonymous Functions in Go