Go Recipes: Difference between revisions
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
<blockquote style="background-color: AliceBlue; border: solid thin LightSteelBlue;"> | <blockquote style="background-color: AliceBlue; border: solid thin LightSteelBlue;"> | ||
* Reading a file with <tt>[[Go Package os|os]]</tt> primitives: [https://github.com/NovaOrdis/playground/blob/master/go/files/read-file.go playground/go/files/read-file.go] | * Reading a file with <tt>[[Go Package os|os]]</tt> primitives: [https://github.com/NovaOrdis/playground/blob/master/go/files/read-file.go playground/go/files/read-file.go] | ||
* Readinga file with <tt>[[io/ioutil]]</tt> primitives: [https://github.com/NovaOrdis/playground/blob/master/go/files/read-file-2.go playground/go/files/read-file-2.go] | * Readinga file with <tt>[[Go Package io|io/ioutil]]</tt> primitives: [https://github.com/NovaOrdis/playground/blob/master/go/files/read-file-2.go playground/go/files/read-file-2.go] | ||
</blockquote> | </blockquote> |
Revision as of 04:32, 31 March 2016
Internal
Recipes
- Reading a file with os primitives: playground/go/files/read-file.go
- Readinga file with io/ioutil primitives: playground/go/files/read-file-2.go