Created
August 1, 2019 07:55
-
-
Save sahajre/3cb128e82b6d02a662508c47ec2df3ba to your computer and use it in GitHub Desktop.
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 printStr(s string) { | |
fmt.Print(s) | |
} | |
func printHelloWorld() { | |
defer printStr("界") | |
defer printStr("世") | |
defer printStr(", ") | |
printStr("Hello") | |
} | |
func main() { | |
printHelloWorld() | |
printStr("\n") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment