Created
August 20, 2021 08:32
-
-
Save monkrus/3b22675bd031c119e7bfffdd03d0dc0a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| ) | |
| func numberDoor(number int) { | |
| func() { | |
| fmt.Println(number) | |
| }() | |
| } | |
| func main() { | |
| numberDoor(10) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment