18 Commits

Author SHA1 Message Date
Eli Bendersky
a9507f5bbb
Clarify comment for the goroutines sample (#366)
* Clarify comment for the goroutines sample.

The current comment may be interpreted to say that the output must be
interleaved, when in fact it doesn't have to be (it depends on the order
the goroutines are run). Make the comment more permissive to avoid the
confusion.

Fixes #365

* Fix phrasing in comment
2021-08-30 07:17:25 -07:00
Oleg Butuzov
646c8b39da bugfix (mmcgrana/gobyexample#294) sha1 sum calculator
This bugfix implements correct way to calculate source sha1 hash, before it will changed,
by propagation of unchanged sources.

This commit will also include regenerated static files and *.hash files.
2019-10-22 14:27:02 +03:00
Eli Bendersky
61e8dde1c1 Use time.Sleep instead of fmt.Scanln to wait for goroutines
The Scanln doesn't work on the Go playground

Fixes #279
2019-09-20 14:55:41 -07:00
Eli Bendersky
7c160440be Use tabs as the canonical source indentation in git
Space conversion is done during generation only. Fixes #192
2019-06-04 07:30:58 -07:00
Mark McGranaghan
ca05e42084 Fix goroutines spelling 2018-02-01 17:58:40 -05:00
Mark McGranaghan
9ae40faa32 Rebuild for goroutines change 2018-02-01 17:26:27 -05:00
Mark McGranaghan
36352be54c Can now shorten this 2018-02-01 17:26:11 -05:00
Bharath Ram Hariharan
6805c6cdb8 removal of unwanted variable 2018-02-01 17:24:45 -05:00
Mark McGranaghan
99e0ab00df Rebuild 2015-01-10 14:42:44 -08:00
Mark McGranaghan
32f268e8e0 Tweak wording to "function calls"
It's technically the same function being called and therefore run
twice.

Ref #90
2015-01-10 14:39:43 -08:00
Traun Leyden
a904c2e519 Fixes #88 2015-01-10 11:15:14 -08:00
Mark McGranaghan
afdf0cc2b4 add trailing newlines 2013-10-06 08:50:23 -07:00
Mark McGranaghan
e77dcdddd4 missing some generated files 2013-09-11 09:01:11 -07:00
Mark McGranaghan
92bcbe8acc tweaks 2012-10-11 08:39:34 -07:00
Mark McGranaghan
d19153e5f6 publish select 2012-10-11 08:35:16 -07:00
Mark McGranaghan
deafc3a0bf handle ctrl-c 2012-10-11 08:00:42 -07:00
Mark McGranaghan
e34108a8d1 publish goroutines 2012-10-11 07:52:36 -07:00
Mark McGranaghan
8daa226a48 lean into examples 2012-10-09 21:02:12 -07:00