Eli Bendersky
eac6776159
Clarify comment
...
Remove an ambiguous part of the comment that can cause confusion -
passing a WaitGroup by pointer is always mandatory.
2021-09-10 07:19:33 -07:00
Eli Bendersky
b1ef499821
Rewrite the WaitGroup example to be more idiomatic
...
A wrapper closure invokes wg.Done
Still mention the pass-by-pointer requirements on the WaitGroup
Fixes #278
2021-09-10 06:11:56 -07:00
Eli Bendersky
69efd4b8c0
Add note to waitgroups example about errgroup
...
Fixes #308
2021-08-30 09:18:16 -07:00
Eli Bendersky
bd25cd7ee9
Move wg.Done in waitgroup worker to defer
...
Fixes #310
2020-01-07 06:05:34 -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
Eli Bendersky
ec0b192e48
Rename waitgroup-->waitgroups
2019-05-30 06:12:09 -07:00