402 Commits

Author SHA1 Message Date
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
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
37740d6936 Underscore italics around links don't seem to work 2018-02-01 16:15:50 -05: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
oohira
5f9b7a263d Add <code> style to 'nil' and Remove redundant space 2017-01-14 00:36:06 +09:00
oohira
d4b81ba058 Replace ints with ints 2017-01-14 00:35:33 +09:00
oohira
8dcf72d27d Replace Println with fmt.Println 2017-01-14 00:35:16 +09:00
oohira
45080c435b Add <code> style to 'append' function 2017-01-14 00:35:15 +09: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
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
Mark McGranaghan
30e1fadfa6 Merge pull request #132 from katamaritaco/patch-1
Typo in the top comment
2016-12-27 07:17:35 -08:00
Mark McGranaghan
ba1fb3a1ed Fix typo in command-line-flags
Closes #146.
2016-12-27 07:12:30 -08:00
Mark McGranaghan
aaa3f66fc6 Fix ToLower capitalization in string-functions
Closes #150.
2016-12-27 07:05:58 -08:00
Mark McGranaghan
eaf7f249ec Merge pull request #136 from karlkeefer/patch-1
typo: trailing->tail
2016-06-05 14:31:40 -07:00
Mark McGranaghan
c2642ceaf8 Fix range commentary per #137 2016-06-05 14:28:57 -07:00
Karl Keefer
8cee0f6418 typo: trailing->tail 2016-06-02 10:18:29 -07:00
Nick Heindl
96ef75bb18 Typo in the top comment 2016-04-19 16:49:05 -05:00
Manuel Hutter
e23cb95e59 Extended for: Added explanation of continue. 2016-01-22 15:05:12 +01:00
Mark McGranaghan
3dc21b848c Avoid double-pointer in Unmarshal 2015-09-14 08:50:10 -07:00
Mark McGranaghan
93e2f08a6b Rebuild 2015-09-05 10:19:48 -07:00
Jim Walker
7dde60ce97 Fix typo on random numbers example 2015-09-05 10:12:42 -07:00
Mark McGranaghan
a4d9d2f5db Use 1600ms to avoid racing 2015-08-29 17:12:44 -07:00
Richo Healey
f60da41f5b Update the random examples 2015-07-27 11:13:08 -07:00
Mark McGranaghan
8b66bf7fcb A square can't have different width and height 2015-04-19 08:26:26 -07:00
Steve Krulewitz
80d21aac1d Complete type switch TODO 2015-02-25 16:49:49 -08:00
Mark McGranaghan
518a807773 Rebuild 2015-02-24 19:13:33 -08:00
Mark McGranaghan
446bd9fb2c Merge pull request #98 from skrul/coalesced-parameters
Complete TODO for coalesced function parameters.
2015-02-24 19:12:24 -08:00