Skip to content

Instantly share code, notes, and snippets.

@xyproto
Created August 26, 2011 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xyproto/1173526 to your computer and use it in GitHub Desktop.
Save xyproto/1173526 to your computer and use it in GitHub Desktop.
func jedi() {
fmt.Print("For eight hundred years have I ")
fmt.Print("trained Jedi.\nMy own counsel ")
fmt.Print("will I keep on who is to be ")
fmt.Print("trained.\nA Jedi must have the ")
fmt.Print("deepest commitment,\nthe most ")
fmt.Print("serious mind.")
}
func yoda() {
defer jedi()
defer fmt.Println("What know you of ready?")
defer fmt.Print("are you? ")
}
func main() {
defer fmt.Println()
defer yoda()
fmt.Print("Ready ")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment