Go Recipes: Difference between revisions
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
<blockquote style="background-color: AliceBlue; border: solid thin LightSteelBlue;"> | <blockquote style="background-color: AliceBlue; border: solid thin LightSteelBlue;"> | ||
* TCP client and server with <tt>[[Go Package net|net]]</tt> primitives: [https://github.com/NovaOrdis/playground/blob/master/go/network playground/go/network] | * TCP client and server with <tt>[[Go Package net|net]]</tt> primitives: [https://github.com/NovaOrdis/playground/blob/master/go/network/tcp-server.go playground/go/go/network/tcp-server.go], [https://github.com/NovaOrdis/playground/blob/master/go/network/tcp-client.go playground/go/go/network/tcp-client.go], | ||
</blockquote> | </blockquote> |
Revision as of 23:00, 1 April 2016
Internal
Recipes
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/go/network/tcp-server.go, playground/go/go/network/tcp-client.go,