Go Recipes: Difference between revisions
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
=Recipes= | =Recipes= | ||
* Reading a file with <tt>[[Go Package os|os]]</tt> primitives: | * 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: | * 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] |
Revision as of 04:31, 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