Go Recipes: Difference between revisions
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
* [[Go Concepts - Standard Library|Standard Library]] | * [[Go Concepts - Standard Library|Standard Library]] | ||
=Files= | |||
<blockquote style="background-color: AliceBlue; border: solid thin LightSteelBlue;"> | <blockquote style="background-color: AliceBlue; border: solid thin LightSteelBlue;"> | ||
Line 17: | Line 15: | ||
</blockquote> | </blockquote> | ||
=Network= | |||
<blockquote style="background-color: AliceBlue; border: solid thin LightSteelBlue;"> | <blockquote style="background-color: AliceBlue; border: solid thin LightSteelBlue;"> | ||
Line 24: | Line 22: | ||
* RPC - Introducing Go page 89 | * RPC - Introducing Go page 89 | ||
</blockquote> | </blockquote> | ||
=Command Line Parsing= |
Revision as of 23:35, 1 April 2016
Internal
Files
- 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
- Walking a directory with path/filepath primitives: playground/go/files/walk-dir.go
Network
- TCP client and server with net primitives: playground/go/network/tcp-server.go, playground/go/network/tcp-client.go,
- HTTP server with net/http primitives: playground/go/network/http-server.go
- RPC - Introducing Go page 89