Permalink
Browse files

add trailing newlines

  • Loading branch information...
1 parent b0b6dbe commit afdf0cc2b4b1c71161e8f3503cd37eccea83e773 @mmcgrana committed Oct 6, 2013
Showing with 66 additions and 66 deletions.
  1. +1 −1 examples/arrays/arrays.hash
  2. +1 −1 examples/atomic-counters/atomic-counters.hash
  3. +1 −1 examples/base64-encoding/base64-encoding.hash
  4. +1 −1 examples/channel-buffering/channel-buffering.hash
  5. +1 −1 examples/channel-directions/channel-directions.hash
  6. +1 −1 examples/channel-synchronization/channel-synchronization.hash
  7. +1 −1 examples/channels/channels.hash
  8. +1 −1 examples/closing-channels/closing-channels.hash
  9. +1 −1 examples/closures/closures.hash
  10. +1 −1 examples/collection-functions/collection-functions.hash
  11. +1 −1 examples/command-line-arguments/command-line-arguments.hash
  12. +1 −1 examples/command-line-flags/command-line-flags.hash
  13. +1 −1 examples/constants/constants.hash
  14. +1 −1 examples/defer/defer.hash
  15. +1 −1 examples/environment-variables/environment-variables.hash
  16. +1 −1 examples/epoch/epoch.hash
  17. +1 −1 examples/errors/errors.hash
  18. +1 −1 examples/execing-processes/execing-processes.hash
  19. +1 −1 examples/exit/exit.hash
  20. +1 −1 examples/for/for.hash
  21. +1 −1 examples/functions/functions.hash
  22. +1 −1 examples/goroutines/goroutines.hash
  23. +1 −1 examples/hello-world/hello-world.hash
  24. +1 −1 examples/if-else/if-else.hash
  25. +1 −1 examples/interfaces/interfaces.hash
  26. +1 −1 examples/json/json.hash
  27. +1 −1 examples/line-filters/line-filters.hash
  28. +1 −1 examples/maps/maps.hash
  29. +1 −1 examples/methods/methods.hash
  30. +1 −1 examples/multiple-return-values/multiple-return-values.hash
  31. +1 −1 examples/mutexes/mutexes.hash
  32. +1 −1 examples/non-blocking-channel-operations/non-blocking-channel-operations.hash
  33. +1 −1 examples/number-parsing/number-parsing.hash
  34. +1 −1 examples/panic/panic.hash
  35. +1 −1 examples/pointers/pointers.hash
  36. +1 −1 examples/random-numbers/random-numbers.hash
  37. +1 −1 examples/range-over-channels/range-over-channels.hash
  38. +1 −1 examples/range/range.hash
  39. +1 −1 examples/rate-limiting/rate-limiting.hash
  40. +1 −1 examples/reading-files/reading-files.hash
  41. +1 −1 examples/recursion/recursion.hash
  42. +1 −1 examples/regular-expressions/regular-expressions.hash
  43. +1 −1 examples/select/select.hash
  44. +1 −1 examples/sha1-hashes/sha1-hashes.hash
  45. +1 −1 examples/signals/signals.hash
  46. +1 −1 examples/slices/slices.hash
  47. +1 −1 examples/sorting-by-functions/sorting-by-functions.hash
  48. +1 −1 examples/sorting/sorting.hash
  49. +1 −1 examples/spawning-processes/spawning-processes.hash
  50. +1 −1 examples/stateful-goroutines/stateful-goroutines.hash
  51. +1 −1 examples/string-formatting/string-formatting.hash
  52. +1 −1 examples/string-functions/string-functions.hash
  53. +1 −1 examples/structs/structs.hash
  54. +1 −1 examples/switch/switch.hash
  55. +1 −1 examples/tickers/tickers.hash
  56. +1 −1 examples/time-formatting-parsing/time-formatting-parsing.hash
  57. +1 −1 examples/time/time.hash
  58. +1 −1 examples/timeouts/timeouts.hash
  59. +1 −1 examples/timers/timers.hash
  60. +1 −1 examples/url-parsing/url-parsing.hash
  61. +1 −1 examples/values/values.hash
  62. +1 −1 examples/variables/variables.hash
  63. +1 −1 examples/variadic-functions/variadic-functions.hash
  64. +1 −1 examples/worker-pools/worker-pools.hash
  65. +1 −1 examples/writing-files/writing-files.hash
  66. +1 −1 tools/generate.go
View
2 examples/arrays/arrays.hash
@@ -1,2 +1,2 @@
305975d13d24223181d13f042b290906d86c1a0e
-l-A8eBnwio
+l-A8eBnwio
View
2 examples/atomic-counters/atomic-counters.hash
@@ -1,2 +1,2 @@
97f1f28e352163cb841fb26dc05dced9fa8efde5
-sKIaNsJquU
+sKIaNsJquU
View
2 examples/base64-encoding/base64-encoding.hash
@@ -1,2 +1,2 @@
e57f5be3a796261fb4a55cdb0580a254e14b4930
-t6rFm2x4Yr
+t6rFm2x4Yr
View
2 examples/channel-buffering/channel-buffering.hash
@@ -1,2 +1,2 @@
122140f7ad1bc5cff4fcd7a9e7245b87aaca3ec5
-34PVHwO6Bn
+34PVHwO6Bn
View
2 examples/channel-directions/channel-directions.hash
@@ -1,2 +1,2 @@
635cc13dfe33123ac188e01e3002d3aa935d765f
-P9Fujfpa1f
+P9Fujfpa1f
View
2 examples/channel-synchronization/channel-synchronization.hash
@@ -1,2 +1,2 @@
fe3e2ea1a67d0f95ce4cb18f3e8aa16d416de0ce
-0DfW-1RMqi
+0DfW-1RMqi
View
2 examples/channels/channels.hash
@@ -1,2 +1,2 @@
be6689b44773c1f7a83d409d1e2f5ba7d6c7b006
-aVTMoY5FNt
+aVTMoY5FNt
View
2 examples/closing-channels/closing-channels.hash
@@ -1,2 +1,2 @@
5205898a520533e46ea24c849848d19ebc2d08a9
-eFZ2SeKswH
+eFZ2SeKswH
View
2 examples/closures/closures.hash
@@ -1,2 +1,2 @@
2e062d01989caada16c4b22ff6a35cd58e4eb819
-gQtEWkhWyp
+gQtEWkhWyp
View
2 examples/collection-functions/collection-functions.hash
@@ -1,2 +1,2 @@
ed54b3fc0512ccace0f3d0b74975c9bcd2e7a8a2
-3PNdke3Wia
+3PNdke3Wia
View
2 examples/command-line-arguments/command-line-arguments.hash
@@ -1,2 +1,2 @@
41c970a1ef29ad2a05307e6c783ff52ab80eaccd
-44uyYt_TRl
+44uyYt_TRl
View
2 examples/command-line-flags/command-line-flags.hash
@@ -1,2 +1,2 @@
a22c44511e84451cca813659f3803fb7ae48dab0
-9xlvGqQjhl
+9xlvGqQjhl
View
2 examples/constants/constants.hash
@@ -1,2 +1,2 @@
3de4f16f1ed032378268411b2173b95e8000305d
-T5sj0eINnp
+T5sj0eINnp
View
2 examples/defer/defer.hash
@@ -1,2 +1,2 @@
570699fc50a1d39e9d0ad6a4461aef3248b080e1
-9aoHwzHcAo
+9aoHwzHcAo
View
2 examples/environment-variables/environment-variables.hash
@@ -1,2 +1,2 @@
4d0832c5a1ddd4e95474791e8802c15452358214
-kfqLhpmEpw
+kfqLhpmEpw
View
2 examples/epoch/epoch.hash
@@ -1,2 +1,2 @@
b56f9122928886ac695c15657c2ff5ec7c5436d9
-3jXHvYbLUz
+3jXHvYbLUz
View
2 examples/errors/errors.hash
@@ -1,2 +1,2 @@
07cffb3d4e37162ab7e9e0a192561ddc8042b81a
-BmDQXkPPTk
+BmDQXkPPTk
View
2 examples/execing-processes/execing-processes.hash
@@ -1,2 +1,2 @@
ae75526fdd970c450fa3ed52c70cf400a45d0770
-iEAD2cYC-h
+iEAD2cYC-h
View
2 examples/exit/exit.hash
@@ -1,2 +1,2 @@
dc0bb3eaafa045d6aa05e88aff39322a1ccf822e
-CDiAh9SXRM
+CDiAh9SXRM
View
2 examples/for/for.hash
@@ -1,2 +1,2 @@
e7dbd5f44ea79a3eb41e4535575197b9eadc0e03
-mGqqcBZ0jv
+mGqqcBZ0jv
View
2 examples/functions/functions.hash
@@ -1,2 +1,2 @@
19cac21e4a057e8335ce78a30de9a43c2b18d522
-2EXoOWfGf_
+2EXoOWfGf_
View
2 examples/goroutines/goroutines.hash
@@ -1,2 +1,2 @@
5562eb9bebe9ed442e8fa6801fab86b00fd1d2ba
-aIO_Wi3hJj
+aIO_Wi3hJj
View
2 examples/hello-world/hello-world.hash
@@ -1,2 +1,2 @@
66ef79aa3cbc8789c141ce7031fb3f493e003aad
-H8bxSpw9Jq
+H8bxSpw9Jq
View
2 examples/if-else/if-else.hash
@@ -1,2 +1,2 @@
4187a4268be1cd85fdd6e9a211d1e4f534666ad6
-p_ykufAYRj
+p_ykufAYRj
View
2 examples/interfaces/interfaces.hash
@@ -1,2 +1,2 @@
853be73c5685a0510da77c22c64727afa7fb0581
-vx8bwC-Bmq
+vx8bwC-Bmq
View
2 examples/json/json.hash
@@ -1,2 +1,2 @@
12f985bb444e2bd6d72ea52a24ebc5f4f82c5b9b
-4L2wMVv7tW
+4L2wMVv7tW
View
2 examples/line-filters/line-filters.hash
@@ -1,2 +1,2 @@
fe6d70a3115bd0974aa6f3f8444bb539d17fc027
-OSS71nSpkV
+OSS71nSpkV
View
2 examples/maps/maps.hash
@@ -1,2 +1,2 @@
572365c80895f32241032397bd69094886892d90
-D-F9YN_V8r
+D-F9YN_V8r
View
2 examples/methods/methods.hash
@@ -1,2 +1,2 @@
24cfb9ad45e43c2d49163149bc55925a4e1b3c7a
-254m_9Yjwa
+254m_9Yjwa
View
2 examples/multiple-return-values/multiple-return-values.hash
@@ -1,2 +1,2 @@
9e0a75102d83565fefbf1893728b15633dc44a2c
-LrDt1Wah0M
+LrDt1Wah0M
View
2 examples/mutexes/mutexes.hash
@@ -1,2 +1,2 @@
a42e6b574ab2c2bdd38df53d77b9a2f3f3e0b10c
--_LKNceBru
+-_LKNceBru
View
2 examples/non-blocking-channel-operations/non-blocking-channel-operations.hash
@@ -1,2 +1,2 @@
119ced4df4f79795b163483b6abfd855e76ef577
-M972dltae2
+M972dltae2
View
2 examples/number-parsing/number-parsing.hash
@@ -1,2 +1,2 @@
0d2155e9863a73c098d44637e92403d7f5e8e965
-N90EppECFk
+N90EppECFk
View
2 examples/panic/panic.hash
@@ -1,2 +1,2 @@
91639bbcfcc6ed088295a9ee6b1c36ab35ae402a
-c86oXzfQOt
+c86oXzfQOt
View
2 examples/pointers/pointers.hash
@@ -1,2 +1,2 @@
85cff3345d2f22b65a5d54eb8f7aa8f508f27887
-KdE4TBbUL2
+KdE4TBbUL2
View
2 examples/random-numbers/random-numbers.hash
@@ -1,2 +1,2 @@
62b0562c92dd84ecb9408df4c517031d75b1e337
-C0_kuFx3ET
+C0_kuFx3ET
View
2 examples/range-over-channels/range-over-channels.hash
@@ -1,2 +1,2 @@
e415b1f2ae531b319bb9aca69b17e7b916511744
-WN7NNh9tvh
+WN7NNh9tvh
View
2 examples/range/range.hash
@@ -1,2 +1,2 @@
e6458150862a6b26e95629ba6a90a6a3036d7d52
-Ys3V-ohVRy
+Ys3V-ohVRy
View
2 examples/rate-limiting/rate-limiting.hash
@@ -1,2 +1,2 @@
d74aebb12f618f22ec776eb5b4de92985104c197
-e7yzIk97-p
+e7yzIk97-p
View
2 examples/reading-files/reading-files.hash
@@ -1,2 +1,2 @@
251ab050de24051bb7d9858940421fdec41fa674
-VcLqpSwnkN
+VcLqpSwnkN
View
2 examples/recursion/recursion.hash
@@ -1,2 +1,2 @@
5d1ba6b03a50ccae2a0f46865eb72c587e11857c
-RFn-rf42ap
+RFn-rf42ap
View
2 examples/regular-expressions/regular-expressions.hash
@@ -1,2 +1,2 @@
0ebd0a44997fe20d3fa0caa8b5f2cfa96ff1db13
-7bnr2EXlxK
+7bnr2EXlxK
View
2 examples/select/select.hash
@@ -1,2 +1,2 @@
572ae309be3d0fd9b029aeb908013b2914a36734
-NGSkDrli6L
+NGSkDrli6L
View
2 examples/sha1-hashes/sha1-hashes.hash
@@ -1,2 +1,2 @@
6a896270e34f2696b881a8fa7e68bfff57dee51f
-YUaWWEeB4U
+YUaWWEeB4U
View
2 examples/signals/signals.hash
@@ -1,2 +1,2 @@
42ec8f6064228f89f97e2798150d741317d2bf05
-d42wO1q1oh
+d42wO1q1oh
View
2 examples/slices/slices.hash
@@ -1,2 +1,2 @@
d900c3b1cf2bd96591f7ad7ce7fd9e592ec31139
-dPQErsP6Yc
+dPQErsP6Yc
View
2 examples/sorting-by-functions/sorting-by-functions.hash
@@ -1,2 +1,2 @@
9b184444231f799b9388037d8142613a598e9345
-M06NADP985
+M06NADP985
View
2 examples/sorting/sorting.hash
@@ -1,2 +1,2 @@
4e576421f2bdbd11847c367d223bd30d0e301990
-roQOJXtqAb
+roQOJXtqAb
View
2 examples/spawning-processes/spawning-processes.hash
@@ -1,2 +1,2 @@
4e31686ab1dac4fa0e3ce753a6af207c51b9b049
-utd_H-XJtC
+utd_H-XJtC
View
2 examples/stateful-goroutines/stateful-goroutines.hash
@@ -1,2 +1,2 @@
13c5072f2ccb7afb85b8c7ea9a97f94423aef8de
-2YrrJo4H6W
+2YrrJo4H6W
View
2 examples/string-formatting/string-formatting.hash
@@ -1,2 +1,2 @@
fece72ed980c2ee55b3f1d5d8e8d83aed81dc814
-qayRuqXHym
+qayRuqXHym
View
2 examples/string-functions/string-functions.hash
@@ -1,2 +1,2 @@
66fdf78c9be9a41e52bcf2e8b01ab95fa7753401
-COXm374QWe
+COXm374QWe
View
2 examples/structs/structs.hash
@@ -1,2 +1,2 @@
49cad39331ee5e9fb8d8dad99d3aff7f18a4e6d0
-OMCP5KFC10
+OMCP5KFC10
View
2 examples/switch/switch.hash
@@ -1,2 +1,2 @@
1040d0721b871f78f221a0e9e4a61ea3b0e6de70
-8b5CajPcHn
+8b5CajPcHn
View
2 examples/tickers/tickers.hash
@@ -1,2 +1,2 @@
39781500e9ccbd39282e2dce5cb8003715bfe78a
-U0PO7ZZU3l
+U0PO7ZZU3l
View
2 examples/time-formatting-parsing/time-formatting-parsing.hash
@@ -1,2 +1,2 @@
89dedeb30079f7f5f42202c249609c570563a1ae
-JqNGqbuqF1
+JqNGqbuqF1
View
2 examples/time/time.hash
@@ -1,2 +1,2 @@
a5fb723728be749919194acf860f483a7c2329c7
-NxuQTlVA2l
+NxuQTlVA2l
View
2 examples/timeouts/timeouts.hash
@@ -1,2 +1,2 @@
48dc2824c813ec9195866592e4bed211fa9a5098
-CoBnJiRyx3
+CoBnJiRyx3
View
2 examples/timers/timers.hash
@@ -1,2 +1,2 @@
a5b44952d93152ba6bfdb100ea30cd8446cad47e
-6fSHrYxpMu
+6fSHrYxpMu
View
2 examples/url-parsing/url-parsing.hash
@@ -1,2 +1,2 @@
677974cc6b7ba9a63f6c7f2979fd46ef2a4202d7
-eaMv0skOfY
+eaMv0skOfY
View
2 examples/values/values.hash
@@ -1,2 +1,2 @@
c5a53c75cc57dc15ac4458285c9b139bf85c67bf
-fgGVOyuZdu
+fgGVOyuZdu
View
2 examples/variables/variables.hash
@@ -1,2 +1,2 @@
8c74aae4850358073926dba5d98aa402f9968251
-Zv45CSMaiD
+Zv45CSMaiD
View
2 examples/variadic-functions/variadic-functions.hash
@@ -1,2 +1,2 @@
25bcf8d28adf0587d1959e88f32786d7f21872b2
-wRPLOM1VIH
+wRPLOM1VIH
View
2 examples/worker-pools/worker-pools.hash
@@ -1,2 +1,2 @@
9d5b1d008d278df7db7697d56d491d982da86e7d
-y12QxBsKtT
+y12QxBsKtT
View
2 examples/writing-files/writing-files.hash
@@ -1,2 +1,2 @@
0853ca57176872e9b34b501855ceb8bf5fbdbf46
-5usz1Oc-xY
+5usz1Oc-xY
View
2 tools/generate.go
@@ -144,7 +144,7 @@ func resetUrlHashFile(codehash, code, sourcePath string) string {
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
urlkey := string(body)
- data := fmt.Sprintf("%s\n%s", codehash, urlkey)
+ data := fmt.Sprintf("%s\n%s\n", codehash, urlkey)
ioutil.WriteFile(sourcePath, []byte(data), 0644)
return urlkey
}

0 comments on commit afdf0cc

Please sign in to comment.