927 Commits

Author SHA1 Message Date
Eli Bendersky
2e3c6d3f51 Initial Travis file for running CI
Each run invokes tools/build, which already returns a non-zero status on errors
and zero when OK.

Updates #237
2019-06-04 20:32:43 -07:00
Mark McGranaghan
e39e5b3889 Merge branch 'fixread' 2019-06-04 16:41:51 -07:00
Mark McGranaghan
e862063d82 Merge remote-tracking branch 'github/nopointer' 2019-06-04 16:33:20 -07:00
Eli Bendersky
f99adfc228 Keep the two structs together for presentation 2019-06-04 16:27:55 -07:00
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
Mark McGranaghan
573cb47955 Rebuild for tabs 2019-06-04 07:44:57 -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
1699ad1c45 Merge branch 'subcommand' 2019-06-04 07:27:14 -07:00
Mark McGranaghan
af633e81f3 Presentation tweak 2019-06-04 07:25:49 -07:00
Mark McGranaghan
c00fa9dc79 Rebuild for apple 2019-06-04 05:49:54 -07:00
Eli Bendersky
738fc184ef Subcommands example 2019-06-04 05:48:59 -07:00
Mark McGranaghan
f2f5af3690 Fix output 2019-06-03 18:35:36 -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
936b6b2434
Merge pull request #216 from go101/patch-1
update for Go 1.12
2019-05-31 12:05:52 -07:00
Mark McGranaghan
75abd7facb Update contributing guide 2019-05-30 12:57:13 -07:00
Mark McGranaghan
21bba9d169 Whew that was a while ago 2019-05-30 12:54:23 -07:00
Mark McGranaghan
9f19f86417 Remove vestigal dot files 2019-05-30 12:52:51 -07:00
Mark McGranaghan
8631e99ffd Update Readme to reflect tools/upload 2019-05-30 12:50:28 -07:00
Mark McGranaghan
4ab97fb99b
Merge pull request #226 from eliben/sanitytest
Adding a basic sanity testing tool to run during 'build'.
2019-05-30 12:50:03 -07:00
Mark McGranaghan
95e26aa537 Shorter name 2019-05-30 07:42:36 -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
e6f596b462 Remove Google Analytics
I thought I had done this a long time ago |:
2019-05-30 06:49:07 -07:00
Mark McGranaghan
151db9a129 Rebuild for variables 2019-05-30 06:35:21 -07:00
Mark McGranaghan
9f4f06d27d
Merge pull request #213 from coltonhurst/master
Change example text in variables.go
2019-05-30 06:33:58 -07:00
Mark McGranaghan
7c175b078f
Merge pull request #223 from eliben/addwaitgroup
Add "Waiting For Goroutines To Finish" example.
2019-05-30 06:23:53 -07:00
Eli Bendersky
ec0b192e48 Rename waitgroup-->waitgroups 2019-05-30 06:12:09 -07:00
Eli Bendersky
074571d952
Update examples/waitgroup/waitgroup.go
Co-Authored-By: Mark McGranaghan <mmcgrana@gmail.com>
2019-05-30 06:07:12 -07:00
Eli Bendersky
8930aa53f3 Adding a basic sanity testing tool to run during 'build'.
The tool just runs 'go vet' for now; could do more later (like actually
run the examples and compare to some expected output)
2019-05-30 06:05:58 -07:00
Eli Bendersky
c7dd69349b
Update examples/waitgroup/waitgroup.go
Co-Authored-By: Mark McGranaghan <mmcgrana@gmail.com>
2019-05-30 05:54:32 -07:00
Eli Bendersky
2967315795
Update examples/waitgroup/waitgroup.go
Co-Authored-By: Mark McGranaghan <mmcgrana@gmail.com>
2019-05-30 05:54:10 -07:00
Eli Bendersky
705f713db2
Update examples/channel-synchronization/channel-synchronization.go
Co-Authored-By: Mark McGranaghan <mmcgrana@gmail.com>
2019-05-30 05:53:54 -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
Mark McGranaghan
b63be6c91d
Merge pull request #214 from spinute/ja
add a link to Japanese translation in README.md
2019-05-29 14:20:00 -07:00