Go Recipes: Difference between revisions
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* [[Go#Subjects|Go]] | * [[Go#Subjects|Go]] | ||
* [[Go Concepts - Standard Library|Standard Library]] | |||
=Recipes= | =Recipes= |
Revision as of 18:53, 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
- Writing a file with os primitives: playground/go/files/write-file.go
- Writing a file with io/ioutil primitives: playground/go/files/write-file-2.go
- Reading a directory with os primitives: playground/go/files/read-dir.go
TODO
- How to quickly (and idiomatically) assemble primitive in strings to be reported at stdout? In Java I used implicit conversion to String and + operator.