Skip to content

Instantly share code, notes, and snippets.

@Mayankgupta688
Last active February 15, 2023 06:26
Show Gist options
  • Save Mayankgupta688/90d257aafc3ef33716fb11cb38255545 to your computer and use it in GitHub Desktop.
Save Mayankgupta688/90d257aafc3ef33716fb11cb38255545 to your computer and use it in GitHub Desktop.
package main
import "fmt"
func main() {
returnedData := func() func() {
return func() {
fmt.Println("Data Returned from Function")
}
}()
returnedData()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment