badkaktus
46671879fc
чтение файла
2019-10-11 13:42:25 +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