How to Go
One job per page: read a file, parse JSON, set a timeout, bound your goroutines. Each one names the gotcha that bites people and points at the reference for the exact signature.
Files and I/O
- Read a file line by line /how-to/read-file-lines
- Append to a file /how-to/append-to-a-file
- Copy a file /how-to/copy-a-file
JSON
HTTP
- Create a simple API /how-to/simple-api
- Make an HTTP request /how-to/make-an-http-request
- Set a timeout on an HTTP request /how-to/http-timeouts
- Decode a JSON request body /how-to/decode-request-body