18 Commits

Author SHA1 Message Date
Eli Bendersky
c273588521 Make multiple imports consistent with import ( ... ) style
Fixes #272
2019-09-06 15:20:22 -07:00
Mark McGranaghan
a0ac6165dd Regnerate 2019-09-01 16:20:57 -07:00
Eli Bendersky
c715a7efc0 Complete the example text, add .sh and generate page 2019-09-01 16:13:01 -07:00
Mark McGranaghan
78e1fd61ec Clean up merge 2019-09-01 16:09:36 -07:00
Shivam Rathore
1943fe0803 arrow keys navigation added | fixes mmcgrana/gobyexample#222 2019-07-08 19:04:14 -07:00
Eli Bendersky
baf22e84e7 Move <img> for play.golang.org to separate line in the template
This will make future diffs easier to read because code changes modify the
hash/link, but the image data stays the same.

Note that there are whitespace diffs in the generated files where there
is no image. This is because there was a stray tab in the template before,
and now it's replaced by spaces.

Fixes #235
2019-06-04 19:03:37 -07:00
Mark McGranaghan
2d9b204571 Use "conversion" instead of "cast", per spec
Closes #200
2019-05-31 12:45:56 -07:00
Mark McGranaghan
cf4b676292 Use data uri to avoid requesting tiny image 2019-05-30 07:42:20 -07:00
Mark McGranaghan
616ddedf59 Build for GA removal 2019-05-30 06:55:38 -07:00
Mark McGranaghan
cdd115dfc8 Update author links 2019-03-20 11:28:21 -07:00
Mark McGranaghan
47be1a0ff8 Build updates 2018-02-01 16:35:20 -05:00
Mark McGranaghan
3dc21b848c Avoid double-pointer in Unmarshal 2015-09-14 08:50:10 -07: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
6da8afaa7c Change Twitter link 2013-11-17 08:43:04 -08:00
Mark McGranaghan
49870a9701 place gopher run link in top-right of rendered go source 2013-10-06 09:25:48 -07:00
Mark McGranaghan
a8bd1b25da move image placement styling to css 2013-10-06 09:08:06 -07:00
Mark McGranaghan
056d0aff68 initial generation for play.golang.org linking, ref #37 2013-09-11 08:52:05 -07:00
Mark McGranaghan
72b227694f first pass at import 2012-11-17 07:08:12 -08:00