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
Mark McGranaghan
d8b255cf7b
Merge pull request #186 from mmcgrana/require-build
...
Verify the checked-in build
2018-02-01 14:17:41 -08:00
Mark McGranaghan
8753360214
Verify the checked-in build
...
Extend bios.sh to ensure that the there are no changes in
the build-time git repo after `tools/build` has been run.
This ensures that the checked-in .go and .sh sources match
the check-in public/ files.
2018-02-01 17:15:00 -05:00
Mark McGranaghan
791db5d8c4
Merge pull request #185 from mmcgrana/tools-standard-formatting
...
Allows tools to use Go-standard formatting
2018-02-01 14:09:45 -08:00
Mark McGranaghan
0a96c21881
Allows tools to use Go-standard formatting
2018-02-01 17:07:33 -05:00
Mark McGranaghan
a36217073a
Merge pull request #184 from mmcgrana/explicit-golint
...
Explicitly install golint
2018-02-01 14:03:45 -08:00
Mark McGranaghan
b791903662
Explictly install golint
2018-02-01 16:53:56 -05:00
Mark McGranaghan
c3884e7329
Link Korean translation. Closes #155
2018-02-01 16:47:23 -05:00
Mark McGranaghan
47be1a0ff8
Build updates
2018-02-01 16:35:20 -05:00
Mark McGranaghan
12791a4921
Consistency in sorting-by-functions.go
2018-02-01 16:33:23 -05:00
Mark McGranaghan
bb743bb826
Consistency in json.go
2018-02-01 16:32:12 -05:00
Mark McGranaghan
ca20eb066f
Merge remote-tracking branch 'nzoschke/bios-example'
2018-02-01 16:31:09 -05:00
Mark McGranaghan
39e7009dfe
Remind myself how to publish the site
2018-02-01 16:18:25 -05:00
Mark McGranaghan
37740d6936
Underscore italics around links don't seem to work
2018-02-01 16:15:50 -05:00
Mark McGranaghan
bbab9ca968
Update templates to reflect new structs
2018-02-01 16:11:22 -05:00
Mark McGranaghan
451160492a
Check for template errors
2018-02-01 16:09:53 -05:00
Mark McGranaghan
bd1f86d96c
Merge remote-tracking branch 'nzoschke/bios'
2018-02-01 15:55:06 -05:00
Noah Zoschke
db3bf49cdd
lint and vet examples, with a few exceptions
2018-01-26 09:37:05 -08:00
Noah Zoschke
ee5400dc9f
dont export types (golint)
2018-01-26 09:35:38 -08:00
Noah Zoschke
ee20cfb543
exported function comment (golint)
2018-01-26 09:34:36 -08:00
Noah Zoschke
080d71ef9c
i++ (golint)
2018-01-26 09:28:53 -08:00
Noah Zoschke
2faeae3aa6
omit type from declaration (golint)
2018-01-26 09:23:36 -08:00
Noah Zoschke
de34a8a2af
drop 0 from declaration (golint)
2018-01-26 09:21:58 -08:00
Noah Zoschke
fd573c3095
no tests
2018-01-26 08:55:25 -08:00
Noah Zoschke
e83d23555c
customize build
2018-01-26 08:55:12 -08:00
Noah Zoschke
08b8a98248
remove unreachable code (go vet)
2018-01-26 08:52:01 -08:00
Noah Zoschke
d5a7560cdc
Url should be URL (golint)
2018-01-26 08:51:01 -08:00
Noah Zoschke
13a5dea6a7
Id should be ID (golint)
2018-01-26 08:48:48 -08:00
Noah Zoschke
116b4c7341
exported types should have comment (golint)
2018-01-26 08:46:33 -08:00
Noah Zoschke
c867632ebf
boilerplate golang bios script
2018-01-26 08:25:29 -08: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
b36fbd2a0e
Clean out examples not used on the site
2016-12-27 12:51:36 -08:00
Mark McGranaghan
a3b3bff8cb
Edits and generation for type switch update
2016-12-27 12:41:21 -08:00
Mark McGranaghan
bee8f55277
Merge pull request #99 from skrul/type-switch
...
Complete type switch TODO
2016-12-27 12:36:11 -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
Jim Walker
d5e30d788c
display output of new example
2016-12-27 10:43:20 -08:00
Jim Walker
394e8aa27e
add example for ranging through keys
2016-12-27 10:43:12 -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
86b0df9895
Add CONTRIBUTING.md
2016-12-27 08:47:09 -08:00
Mark McGranaghan
0f88988564
Minor rendering updates for new Pygments
2016-12-27 08:28:55 -08:00
Mark McGranaghan
fd5e6d9ef6
Handle empty spans generated by newer Pygments
2016-12-27 08:28:35 -08:00
Mark McGranaghan
a7d68d87ca
Just use python
for pygmentize shebang
2016-12-27 08:28:16 -08:00
Mark McGranaghan
6165952ce2
Update vendor'd Pygments to 2.1.3
2016-12-27 08:10:47 -08:00