1154 Commits

Author SHA1 Message Date
andrew
1be4329d35 Change HTML 2020-03-09 13:17:52 +02:00
andrew
0e720eec21 Revert "html changes"
This reverts commit 678cfab8931d31134260c663b5c7b5c0d8eef483.
2020-03-09 13:04:48 +02:00
andrew
746d2d5abb change html 2020-03-09 12:59:19 +02:00
andrew
678cfab893 html changes 2020-03-09 12:55:17 +02:00
andrew
5afa5faf66 Change xml 2020-03-09 12:43:20 +02:00
andrew
6c1f33628b Add error check to temporary files 2020-03-09 12:36:29 +02:00
andrew
5f6871027f Add error check to generate go 2020-03-09 12:35:41 +02:00
andrew
7311e83283 Add error check to writing file 2020-03-09 12:32:57 +02:00
andrew
904c01a098 Add error check to time-parsing 2020-03-09 12:30:21 +02:00
andrew
b66993dc19 Spelling 2020-03-09 12:20:13 +02:00
andrew
beeb231562 Couple of suggestions 2020-03-09 12:14:31 +02:00
Egor Rudkov
526be69307 Fix MustCompile comment error 2020-02-26 23:23:33 +03:00
Grant Regimbal
dd99be41c0
Update based on feedback 2020-02-13 19:19:20 -06:00
Grant Regimbal
6f312cbf64
Fix number of examples
Four examples are given but the comments refer to 3
2020-01-31 23:51:23 -06:00
Mark McGranaghan
3f8e58ad58
Merge pull request #318 from mmcgrana/fix-context-typo
Fix typo in a comment of the context example
2020-01-14 11:54:41 -08:00
Eli Bendersky
a41bd206c9 Fix typo in a comment of the context example
Fixes #317
2020-01-13 13:55:24 -08:00
Mark McGranaghan
1315f3803e
Alphabetize 2020-01-09 11:37:27 -08:00
Mark McGranaghan
844d2670ea
Merge pull request #314 from badkaktus/master-origin
Update README.md
2020-01-09 11:37:02 -08:00
badkaktus
77651fdd3a Update README.md 2020-01-09 12:33:44 +03:00
Mark McGranaghan
2897744157
Merge pull request #309 from mmcgrana/contextwording
Provide some more background on Context
2020-01-07 06:22:07 -08:00
Mark McGranaghan
800fa78c48
Merge pull request #312 from mmcgrana/workgroup-defer
Move wg.Done in waitgroup worker to defer
2020-01-07 06:21:28 -08:00
Eli Bendersky
bd25cd7ee9 Move wg.Done in waitgroup worker to defer
Fixes #310
2020-01-07 06:05:34 -08:00
Mark McGranaghan
6f7aa08f84
Use backpacks so GitHub doesn't auto-link this 2020-01-06 10:35:25 -08:00
Mark McGranaghan
ec08fcd2ca
More portable local instructions
Ref #305.
2020-01-06 10:34:57 -08:00
Mark McGranaghan
0f0ba80059
Merge pull request #311 from mmcgrana/eliben-patch-1
Fix formatting in README
2020-01-06 10:31:53 -08:00
Eli Bendersky
bf18f092fe
Fix formatting in README 2020-01-06 10:27:31 -08:00
Eli Bendersky
5d8d89d246 Provide some more background on Context
And add a comment about the `Err()` method.

Followup on #301
2020-01-04 14:05:02 -08:00
Mark McGranaghan
d6b866d2a1 Show how to use tools/serve 2020-01-04 10:43:39 -08:00
Richard Morrison
0fbbc70ba5 Remove magic numbers from code 2020-01-04 10:36:28 -08:00
Mark McGranaghan
32bf0d7705
Merge pull request #293 from butuzov/ukrainian-translation-url
Ukrainian Translation URL changes
2020-01-04 10:27:09 -08:00
Mark McGranaghan
b32972d2e4 Clarify in Timers that we give timer2 a real chance to fire
Closes #304
2020-01-04 10:17:11 -08:00
Mark McGranaghan
cb8bf44eca Regen hash for Context 2020-01-04 09:59:11 -08:00
Mark McGranaghan
87b2731f91 Merge branch 'sha1-hashes-generation' 2020-01-04 09:58:41 -08:00
Mark McGranaghan
acc5c0365c Merge branch 'context1' 2020-01-04 09:51:27 -08:00
Mark McGranaghan
df99089b9f Rename to shorter context 2020-01-04 09:50:52 -08:00
Mark McGranaghan
9b62f9278e
Merge pull request #303 from gorda/master
Change chinese translator
2020-01-04 09:38:39 -08:00
gorda
ed06d3779b Change chinese translator 2019-12-12 21:52:55 +08:00
Eli Bendersky
061f69cb98 Add generated HTML 2019-11-19 06:42:43 -08:00
Eli Bendersky
fa91799164 Reformat comoments to flow better with the code 2019-11-19 06:41:40 -08:00
Eli Bendersky
ff70f04795 Adding example of HTTP server using context.Context 2019-11-19 06:39:53 -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
Oleg Butuzov
50f8ce8382 Ukrainian Translation URL changes
As gobyexample.com.ua going to be dropped soon,
translation moving to github pages hosting.
2019-10-22 13:48:43 +03:00
Mark McGranaghan
43825687bb Rebuild for environment-variables 2019-10-13 18:29:40 -07:00
Mark McGranaghan
410beb8393
Merge pull request #284 from smoser/fix/environment-split-n
Use SplitN rather than Split on os.Environ return value.
2019-10-13 21:28:56 -04:00
Mark McGranaghan
2c7063ec2f Rebuild 2019-10-13 18:28:25 -07:00
Mark McGranaghan
a81002a27f
Merge pull request #285 from gkotas/tickers-comment
Fixed comment in tickers.go
2019-10-13 21:25:35 -04:00
Scott Moser
c06d8a62c5 Use SplitN rather than Split on os.Environ return value.
Environment variables can contain a '=' in their value
   KEY=BAR=1 sh -c 'echo KEY VALUE is "$KEY"'

If you just use Split() then you may not actually get a 'pair'
but rather a slice with length >= 3.
2019-10-10 21:39:19 -04:00
Jerry Kotas
4076ee15e5 Fixed comment in tickers.go 2019-10-10 15:38:15 -04:00
Mark McGranaghan
82287d9903
Merge pull request #277 from danitello/structs-examples
Structs - fix example output
2019-09-28 19:44:20 -04:00
Eli Bendersky
61e8dde1c1 Use time.Sleep instead of fmt.Scanln to wait for goroutines
The Scanln doesn't work on the Go playground

Fixes #279
2019-09-20 14:55:41 -07:00