19 Commits

Author SHA1 Message Date
Javier Pacareu
30a235b655
docs: remove typo (#454)
* docs: remove typo

* Update mutexes.go

* feat: add changes

Co-authored-by: Javier Pacareu <jpacareu.meli@gmail.com>
2022-12-12 06:21:16 -08:00
Andreas Deininger
da13e2fbe7
Improving links (http -> https) (#425) 2022-06-06 11:31:46 -07:00
Eli Bendersky
c93e7c1cf8 Generate public/* for mutex 2021-11-22 12:53:10 -08:00
Nate Finch
2621c73d29
don't embed the mutex (#400)
Do not embed the mutex in the mutex example
2021-11-22 12:51:49 -08:00
Eli Bendersky
f09cadcbd9 Change mutexes example to make it simpler and more predictable
Fixes #364
2021-10-30 06:20:02 -07:00
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