1042 Commits

Author SHA1 Message Date
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
Mark McGranaghan
b56d37cae8
Merge pull request #225 from eliben/serve1
Rewrite the local server in Go instead of Python
2019-05-29 14:18:01 -07:00
Eli Bendersky
9e31d5eb10 Remove old comment 2019-05-29 13:49:42 -07:00
Eli Bendersky
f43b35ce1a Merge branch 'master' of https://github.com/mmcgrana/gobyexample into serve1 2019-05-29 13:48:19 -07:00
Eli Bendersky
f3f319ccce Rewrite the local server in Go 2019-05-29 13:46:05 -07:00
Mark McGranaghan
be8a0d93ba Indicate where we're serving 2019-05-29 07:44:10 -07:00
Mark McGranaghan
0f3141a5fc Remove bios.sh for now 2019-05-29 07:37:07 -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
c43c319d26 Add local serve script 2019-03-20 11:30:56 -07:00
Mark McGranaghan
cdd115dfc8 Update author links 2019-03-20 11:28:21 -07:00
Go101
8656320237
update for Go 1.12 2019-02-26 12:29:27 -04:00
spinute
501b8104ee add a link to Japanese translation in README.md 2019-01-06 09:36:29 +08:00
Colton Hurst
3f4d78ef6d
Change example text in variables.go
Instead of 'short', which is a common programming language keyword, use something random like 'apple'. This way it prevents confusion from people learning explicit variable declaration, and thinking the type is a short instead of a string.
2018-12-05 15:48:40 -05:00
Bailey Wickham
f1a6a94afd
Added warning for capital field names in structs
Names without capital letters will be ignored by the JSON Marshaller. This may cause confusion when fields are not being unmarshalled correctly without a warning why.
2018-11-28 18:04:20 -08:00
tschundler
ad896cc857
Update tickers.go to not leak goroutine
The code in the example will leak a goroutine because ticker.Stop() does not close ticker.C.
There is no way to close ticker.C, so `for _ := range ticker` is not a generally safe example for using a ticker.
2018-10-17 13:52:04 -07:00
Mark McGranaghan
ec54a84b0c
Merge pull request #199 from butuzov/issue/url-parsing_url_issue
Article URL updated.
2018-06-19 08:12:47 -07:00
Mark McGranaghan
97e0547bc1
Merge pull request #202 from butuzov/feature/new-langauge-ukrainian
Ukrainian translation added.
2018-06-19 08:08:27 -07:00
Oleg Butuzov
bf6d887170 Ukrainian translation added. 2018-06-19 09:41:04 +03: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
5829a41f9b
Merge pull request #195 from oohira/fix-readme-typo
Fix typo in README
2018-02-12 06:51:51 -08:00
oohira
e8d3222b8a Fix typo in README 2018-02-10 10:24:08 +09:00
Mark McGranaghan
33970ecff2
Merge pull request #194 from mmcgrana/explain-nonblocking-send
Explain non-blocking sends
2018-02-09 17:48:25 -05:00
Mark McGranaghan
ee8149219e Explain non-blocking sends 2018-02-09 14:47:28 -08:00
Mark McGranaghan
2cac93fb4f
Merge pull request #193 from mmcgrana/duration-numbers-first
Use more idiomatic <int> * <const> for intervals
2018-02-09 17:18:45 -05:00
Mark McGranaghan
01a5f6de68 Use more idiomatic <int> * <const> for intervals 2018-02-09 14:16:57 -08:00
Mark McGranaghan
1d272218fd
Merge pull request #191 from mmcgrana/goroutines-spelling
Fix goroutines spelling
2018-02-01 15:00:30 -08:00
Mark McGranaghan
f31487b81a Rebuild for spelling fix 2018-02-01 18:00:01 -05:00
Mark McGranaghan
ca05e42084 Fix goroutines spelling 2018-02-01 17:58:40 -05:00
Mark McGranaghan
77cf5a60f8
Merge pull request #190 from mmcgrana/fix-word-style
Some style fixes
2018-02-01 14:55:51 -08:00
Mark McGranaghan
4797db6592 Rebuild for style fixes 2018-02-01 17:54:35 -05:00
Mark McGranaghan
592243aa85 Merge remote-tracking branch 'oohira/fix-word-style' into fix-word-style 2018-02-01 17:50:20 -05:00
Mark McGranaghan
7b40dae0a4
Merge pull request #175 from xg-wang/master
update Chinese version info
2018-02-01 14:37:38 -08:00
Mark McGranaghan
60b07034bb
Merge pull request #189 from mmcgrana/fix-switch-typo
Fix switch typo
2018-02-01 14:31:22 -08:00
Mark McGranaghan
c6f016430a Rebuild for switch changes 2018-02-01 17:30:13 -05:00
Mark McGranaghan
ef0b54de18 Fix typo in switch 2018-02-01 17:29:58 -05:00
Mark McGranaghan
19bda7ab52
Merge pull request #188 from mmcgrana/goroutine-ex-update
Remove unwanted variable from goroutines example
2018-02-01 14:28:16 -08:00
Mark McGranaghan
9ae40faa32 Rebuild for goroutines change 2018-02-01 17:26:27 -05:00
Mark McGranaghan
36352be54c Can now shorten this 2018-02-01 17:26:11 -05:00
Bharath Ram Hariharan
6805c6cdb8 removal of unwanted variable 2018-02-01 17:24:45 -05:00