23 Commits

Author SHA1 Message Date
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
Mark McGranaghan
43825687bb Rebuild for environment-variables 2019-10-13 18:29:40 -07: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
Eli Bendersky
c273588521 Make multiple imports consistent with import ( ... ) style
Fixes #272
2019-09-06 15:20:22 -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
Eli Bendersky
7c160440be Use tabs as the canonical source indentation in git
Space conversion is done during generation only. Fixes #192
2019-06-04 07:30:58 -07:00
Eli Bendersky
dfcaebd536 Basic HTTP client sample 2019-05-31 12:08:57 -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
0f88988564 Minor rendering updates for new Pygments 2016-12-27 08:28:55 -08:00
Mark McGranaghan
2835629767 Rebuild to reflect meta change 2015-09-14 08:50:18 -07:00
Mark McGranaghan
518a807773 Rebuild 2015-02-24 19:13:33 -08: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
db5276c751 fix num -> numb typo 2013-06-16 10:38:49 -07:00
Mark McGranaghan
7066f37541 rebuild 2013-05-18 06:28:15 -07:00
Leandro López (inkel)
aa47547774 Fix typo 2013-05-15 13:56:02 -03:00
Mark McGranaghan
72b227694f first pass at import 2012-11-17 07:08:12 -08:00