Eli Bendersky
f4729c8ed2
Fix reading-files example to not show out-of-bounds bytes
...
Fixes #165
2019-06-04 16:08:22 -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
Mark McGranaghan
d1886245ba
Presentation tweaks
2019-06-04 07:50:21 -07:00
Eli Bendersky
fab09ef735
Minor rewording
2019-06-04 07:44:39 -07:00
Eli Bendersky
973da6773f
HTTP servers sample
2019-06-04 07:44:39 -07:00
Mark McGranaghan
552611bc1c
Add periods
2019-06-04 07:36:05 -07:00
Mark McGranaghan
c6a401d2a3
Rebuild subcommands for tabs
2019-06-04 07:32:51 -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
af633e81f3
Presentation tweak
2019-06-04 07:25:49 -07:00
Eli Bendersky
738fc184ef
Subcommands example
2019-06-04 05:48:59 -07:00
Mark McGranaghan
fe60e81e4e
Merge branch 'httpclient-sample'
2019-05-31 13:02:17 -07:00
Mark McGranaghan
2d9b204571
Use "conversion" instead of "cast", per spec
...
Closes #200
2019-05-31 12:45:56 -07:00
Mark McGranaghan
41d6630bdd
Normalize code fragment typography
...
Per convention, code fragments get monotype and methods in the text
don't get parens or parameters.
2019-05-31 12:19:49 -07:00
Mark McGranaghan
c209145948
"An HTTP"
...
This could go either way, but my pronunciation of HTTP dictates "an" (:
https://www.quora.com/A-http-or-an-http-which-is-the-correct-grammatical-usage
2019-05-31 12:14:54 -07:00
Mark McGranaghan
60bed1aa0d
Update whitespace so comment aligns with relevant code
2019-05-31 12:11:24 -07:00
Mark McGranaghan
d2d9a54208
Use fewer words in HTTP Clients intro
...
"out of the box" is implied by "standard library".
2019-05-31 12:10:33 -07:00
Eli Bendersky
dfcaebd536
Basic HTTP client sample
2019-05-31 12:08:57 -07:00
Mark McGranaghan
d351883ab8
Fix whitespace and build
2019-05-31 12:06:44 -07:00
Mark McGranaghan
cf4b676292
Use data uri to avoid requesting tiny image
2019-05-30 07:42:20 -07:00
Mark McGranaghan
616ddedf59
Build for GA removal
2019-05-30 06:55:38 -07:00
Mark McGranaghan
151db9a129
Rebuild for variables
2019-05-30 06:35:21 -07:00
Eli Bendersky
ec0b192e48
Rename waitgroup-->waitgroups
2019-05-30 06:12:09 -07:00
Eli Bendersky
43ff608b7e
Remove old location of example in public/
2019-05-30 05:41:16 -07:00
Eli Bendersky
3010af04fc
Rerun tools/build to reformat
2019-05-30 05:40:18 -07:00
Eli Bendersky
95d0dd43cc
Add public/waitgroup
2019-05-30 05:29:39 -07:00
Eli Bendersky
74ca2a7b0f
Addressing review comments
...
* Renamed the example
* Reworded comments
* Moved it to after worker pools
* Sleep for a second instead of random
* Mention the new sample in worker pools
2019-05-30 05:28:29 -07:00
Eli Bendersky
6ab81bdf71
Add "Waiting For Goroutines To Finish" example.
...
Also link to it from the Channel Synchronization example
2019-05-29 06:01:58 -07:00
Mark McGranaghan
cdd115dfc8
Update author links
2019-03-20 11:28:21 -07:00
Oleg Butuzov
ce69c753db
Article URL updated.
...
+ article in url parsing example updated to current version.
+ in addition - static/hash files regenerated
2018-04-18 09:34:53 +03:00
Mark McGranaghan
ee8149219e
Explain non-blocking sends
2018-02-09 14:47:28 -08:00
Mark McGranaghan
01a5f6de68
Use more idiomatic <int> * <const> for intervals
2018-02-09 14:16:57 -08:00
Mark McGranaghan
f31487b81a
Rebuild for spelling fix
2018-02-01 18:00:01 -05:00
Mark McGranaghan
4797db6592
Rebuild for style fixes
2018-02-01 17:54:35 -05:00
Mark McGranaghan
c6f016430a
Rebuild for switch changes
2018-02-01 17:30:13 -05:00
Mark McGranaghan
9ae40faa32
Rebuild for goroutines change
2018-02-01 17:26:27 -05:00
Mark McGranaghan
47be1a0ff8
Build updates
2018-02-01 16:35:20 -05:00
Mark McGranaghan
37740d6936
Underscore italics around links don't seem to work
2018-02-01 16:15:50 -05:00
Mark McGranaghan
1b53607cd5
Edits to for re: continue
...
Ref #122 .
2016-12-27 13:31:00 -08:00
Mark McGranaghan
c0e0f725d2
Merge pull request #122 from mhutter/for-continue
...
Extended `for`: Added explanation of `continue`.
2016-12-27 13:29:18 -08:00
Mark McGranaghan
a334236cc3
Remove todos
...
We are not planning to address them at this point.
2016-12-27 12:54:04 -08:00
Mark McGranaghan
a3b3bff8cb
Edits and generation for type switch update
2016-12-27 12:41:21 -08:00
Mark McGranaghan
c4b8ffdd62
Remove confusing comment about closed channels
...
Ref #108
2016-12-27 11:58:50 -08:00
Mark McGranaghan
cf6b1fe44a
Rebuild for range changes
2016-12-27 10:44:26 -08:00
Mark McGranaghan
513eefcddc
Clarify worker-pool example
...
Ref #131
2016-12-27 10:32:33 -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
0f88988564
Minor rendering updates for new Pygments
2016-12-27 08:28:55 -08:00
Mark McGranaghan
cca7879dce
Add note about len and [] operating on bytes
...
Fixes #148 .
2016-12-27 07:41:08 -08:00
Mark McGranaghan
e533ad365b
Fix typo in string-functions
2016-12-27 07:20:27 -08:00
Mark McGranaghan
2cad6277f8
Regenerate for #132
2016-12-27 07:18:03 -08:00