230 Commits

Author SHA1 Message Date
Mark McGranaghan
a8ee83af78 Emphasize time constants
In most cases users will format and parse times using the constants
provided in package time. Show these first before getting into custom
example-based formats.
2014-04-15 18:09:28 -07:00
Mark McGranaghan
e6523e8703 Remove unused HTTPS example code
A bad example with verify none.
2014-02-10 01:28:16 -08:00
Mark McGranaghan
4f4b2169a3 Rebuild 2014-01-22 15:49:28 -08:00
Zak Johnson
f85e7839c3 Fix comment typos in signals.go 2014-01-22 15:36:22 -08:00
Mark McGranaghan
82c163b156 Rebuild 2014-01-22 08:00:54 -08:00
Zak Johnson
d84a033d3d Fix comment typo in sorting-by-functions.go 2014-01-21 14:10:10 -08:00
Mark McGranaghan
cc39d32551 Rebuild 2014-01-19 11:12:23 -07:00
Zak Johnson
36a81cf5e9 Fix comment typo in select.go 2014-01-19 10:10:58 -08:00
Clint Shryock
24d1a45e6a Tweak JSON example of unmarshalling a float
The current example shows `json.Unmarshal` on an array of bytes, including
`num:6.0`. In the output however this comes out as `6`. Even in the casting to
`float64`, it comes out as `6`. This can be confusion because it looks like a
simple `int`. By adding an arbitray `.13` you see it's a
float.
2014-01-15 10:06:18 -06:00
Mark McGranaghan
3c5392df99 Rebuild 2014-01-10 06:34:13 -08:00
Mark McGranaghan
b2d1ba5cd8 Tweak time formatting wording
Use non-teletype to indicate that it's the logical
values that need to be exact, not the specific text
which will vary by format.
2014-01-10 06:33:03 -08:00
Mark McGranaghan
017f4df00f Merge remote-tracking branch 'will/patch-2' 2014-01-10 06:31:20 -08:00
Mark McGranaghan
8e97559c03 Rebuild 2014-01-10 06:31:15 -08:00
Mark McGranaghan
8512815a6d Whitespace 2014-01-10 06:29:24 -08:00
Mark McGranaghan
dc7c349b7b Remove superfluous sentance. Ref #63 2014-01-10 06:28:04 -08:00
Will Leinweber
c214c51286 Be explicit about time parsing
How did anyone think this was a good idea?
2014-01-07 14:13:59 -08:00
Carson McDonald
3e50762f31 Change succesfully to successfully 2013-12-23 16:58:58 -05:00
Mark McGranaghan
7a06385ccf Rebuild 2013-12-19 11:31:08 -08:00
Mark McGranaghan
e5ff8baebb Merge branch 'matt2909/patch-1' 2013-12-19 11:28:21 -08:00
Matt Horsnell
5b13535069 Update line-filters.go to use bufio Scanner.
Same functionality, just using go 1.1+ API convenience of bufio Scanners.
2013-12-16 09:43:05 +00:00
Mark McGranaghan
2e3ae49bd5 Rebuild 2013-12-03 05:18:14 -08:00
Jake Scott
ed76f25f2c Typo 2013-12-03 20:06:00 +13:00
pattichen
6dcdfc2d36 Correct time parse result 2013-10-26 10:18:37 -07:00
Mark McGranaghan
e02762193c Rebuild 2013-10-20 14:36:12 -07:00
Mark McGranaghan
f41424b1d0 Make the stateful gorouting a single block 2013-10-20 14:35:58 -07:00
Mark McGranaghan
044d5b7238 Rebuild 2013-10-20 14:34:08 -07:00
Mark McGranaghan
846391c0a6 Tweak wording and remove trailing whitespace 2013-10-20 14:31:30 -07:00
Ryan Brainard
2d56878c84 Move state variable internal to stateful goroutine. 2013-10-20 09:53:29 -07:00
Mark McGranaghan
eefab15c72 rebuild 2013-10-07 06:02:02 -07:00
Mark McGranaghan
46fbbfda0f fix worker pools link 2013-10-07 06:00:26 -07:00
Mark McGranaghan
afdf0cc2b4 add trailing newlines 2013-10-06 08:50:23 -07:00
Mark McGranaghan
e77dcdddd4 missing some generated files 2013-09-11 09:01:11 -07:00
Mark McGranaghan
056d0aff68 initial generation for play.golang.org linking, ref #37 2013-09-11 08:52:05 -07:00
Mark McGranaghan
0dd598dde2 update comment 2013-06-20 08:20:59 -07:00
Mark McGranaghan
f097c12b25 Merge remote-tracking branch 'jingweno/master' 2013-06-20 08:20:33 -07:00
Mark McGranaghan
bc0c8b5918 rebuild 2013-06-20 08:11:53 -07:00
Mark McGranaghan
05b6731f1f explain gosched 2013-06-20 08:11:40 -07:00
Leonid Bugaev
9b7c3653d6 Use runtime.Gosched() instead of time.Sleep
Its not clear for newbies that using `time.Sleep` internally calls  `runtime.Gosched()`

Its better to use it directly, moreover on my machine it shows x175 improvement in speed (7m requests per second vs 40k).
2013-06-18 13:23:25 +06:00
Jingwen Owen Ou
e99914d94e Fix the Exec'ing processes example 2013-06-17 14:27:43 -07:00
Mark McGranaghan
db5276c751 fix num -> numb typo 2013-06-16 10:38:49 -07:00
Mark McGranaghan
790139102f fix typo 2013-05-26 06:41:44 -07:00
Mark McGranaghan
0685950428 wrong word 2013-05-11 14:37:58 -07:00
Maciek Sakrejda
e89fb0cbe8 Typo fix 2013-05-04 12:14:25 -07:00
Mark McGranaghan
fde2f767d1 buffer channels for better gc semantics 2013-04-14 17:43:05 -07:00
Mark McGranaghan
9e4622b63e Merge remote-tracking branch 'jpfuentes2/master' 2013-04-14 17:31:00 -07:00
adam
616ca3fc99 Fix typo in base64 example 2013-04-08 21:14:05 -07:00
adam
469774273c Fix typo 2013-04-08 12:03:08 -07:00
Jacques Fuentes
0f7cdc3d65 Fixed minor doc typo for mutexes 2013-03-27 12:08:33 -03:00
Jonathan Clem
fe57207d01 Fix spelling error in 'for' example 2013-03-11 21:04:27 -07:00
Mark McGranaghan
502ca500ba Merge commit 'c98792e3bfa2568da69eccedc4bd4b3c2201d2a7' 2013-01-07 04:25:41 -08:00