13 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
Eli Bendersky
f4729c8ed2 Fix reading-files example to not show out-of-bounds bytes
Fixes #165
2019-06-04 16:08:22 -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
Mark McGranaghan
edf813b3d1 Rebuild 2014-05-11 17:17:46 -07:00
Yousef Ourabi
f6f60540af Adding call to check(err) after os.Open
Clearly we were just able to read the content via ioutil.ReadFile but for consistency I think it would be better to call check(err) after the call to os.Open("/tmp/dat") on line 34.

Tools like errcheck (https://github.com/kisielk/errcheck) will complain about uncaught / unhandled err's. Also can we really be sure some 3rd party process didn't nuke '/tmp' during execution :-)
2014-05-11 17:14:20 -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
Maciek Sakrejda
e89fb0cbe8 Typo fix 2013-05-04 12:14:25 -07:00
Nicolas Kaiser
4f9734df0f Fix misspelled "its" 2012-11-24 13:36:13 +01:00
Mark McGranaghan
c074646a1c publish writing-files 2012-11-01 22:18:07 -07:00
Mark McGranaghan
85061bf84a publish reading-files 2012-11-01 21:01:25 -07:00
Mark McGranaghan
8daa226a48 lean into examples 2012-10-09 21:02:12 -07:00