Created
December 19, 2018 02:39
-
-
Save parzibyte/51d84213f5aa8d878231af4ef070e319 to your computer and use it in GitHub Desktop.
Defer en Go | Múltiples mensajes created by parzibyte - https://repl.it/@parzibyte/Defer-en-Go-or-Multiples-mensajes
This file contains 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 main() { | |
// Normal | |
fmt.Println("Hola, mundo") | |
// Se ejecutarán al revés | |
defer fmt.Println("parzibyte.me") | |
defer fmt.Println("defer desde") | |
defer fmt.Println("probando") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment