21 Commits

Author SHA1 Message Date
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
f99adfc228 Keep the two structs together for presentation 2019-06-04 16:27:55 -07:00
Eli Bendersky
6d8aa9b50a Remove pointers from the stateful-goroutines example.
The pointers are unnecessary and make the sample slightly more
complicated.

Fixes #221
2019-06-04 15:56:59 -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
47be1a0ff8 Build updates 2018-02-01 16:35:20 -05:00
Noah Zoschke
de34a8a2af drop 0 from declaration (golint) 2018-01-26 09:21:58 -08:00
Mark McGranaghan
6a58750728 Consistently use Sleep in state-management examples
Consistently use `time.Sleep`, instead of `runtime.Gosched`, to ensure all
goroutines can make progress. `Gosched` wasn't working in the playground
(ref #149).

Also stop trying to compare operation rates. This was tenuous given e.g. how
short the programs ran for, and with the `Sleep`s we now expect the rates to
be similar anyways.
2016-12-27 10:13:03 -08:00
Mark McGranaghan
94cba6875d Add some inline links to "previous examples"
Fixes #144.
2016-12-27 08:50:13 -08:00
Mark McGranaghan
e02762193c Rebuild 2013-10-20 14:36:12 -07:00
Mark McGranaghan
f41424b1d0 Make the stateful gorouting a single block 2013-10-20 14:35:58 -07:00
Mark McGranaghan
044d5b7238 Rebuild 2013-10-20 14:34:08 -07:00
Mark McGranaghan
846391c0a6 Tweak wording and remove trailing whitespace 2013-10-20 14:31:30 -07:00
Ryan Brainard
2d56878c84 Move state variable internal to stateful goroutine. 2013-10-20 09:53:29 -07: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
09650cff6a remove redundant sentance 2012-10-21 19:30:57 -04:00
Mark McGranaghan
2a0178d304 no comma 2012-10-21 19:29:32 -04:00
Mark McGranaghan
0d79e325dc clarify 2012-10-21 19:28:50 -04:00
Mark McGranaghan
e6c231a959 more idiomadic phrase 2012-10-21 19:28:13 -04:00
Mark McGranaghan
7f9b445752 use multi-line import 2012-10-21 19:25:40 -04:00
Mark McGranaghan
459d16196a publish mutexes and stateful-goroutines 2012-10-21 19:14:04 -04:00