14 Commits

Author SHA1 Message Date
Eli Bendersky
81ab859a7b
Upgrade blackfriday to v2 and fix underscore italics (#350)
Now that we have a go.mod, we can properly upgrade to blackfriday/v2

The output remains the same, but this PR brings back italic links with '_',
placing them into the link since this seems to be the more proper way.

Fixes #182
2021-02-20 10:22:23 -08: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
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
Mark McGranaghan
ca20eb066f Merge remote-tracking branch 'nzoschke/bios-example' 2018-02-01 16:31:09 -05:00
Mark McGranaghan
37740d6936 Underscore italics around links don't seem to work 2018-02-01 16:15:50 -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
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
Jacques Fuentes
0f7cdc3d65 Fixed minor doc typo for mutexes 2013-03-27 12:08:33 -03: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