Commit 41734844 authored by Hippie Hacker's avatar Hippie Hacker

go_routine.go => goroutine.go

parent 5139cb05
......@@ -191,8 +191,8 @@ Go - encoding is UTF-8 internally
- function ~count()~ is run in parallel using the keyword ~go~, e.g. ~go count()~
- This causes main to continue executing immediately without needing the count() function to finish first.
#+INCLUDE: "./go-in-practice/chapter1/go_routine.go" src go
#+INCLUDE: "./go-in-practice/chapter1/goroutine.go" src go
#+NAME: Listing 1.6 Printing concurrently
#+BEGIN_SRC go :imports '("fmt" "time") :main no
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment