Quick Reference Links
This is a list of links to common tasks that come up that i regularly search google for because I’ve forgotten the specifics of. As I think of things, I’ll add them to the list, as I write them, I’ll actually link them:
- How to convert an object to/from JSON
- How to check if a key exists in a map
- How to parse numbers from strings using strconv
- How to convert between a byte slice and a string
- Adding command line flags to your application
- How to iterate over items in a slice
- How to iterate over items a map.
- How to read/write files.
- How to structure a simple web API?
- Slice Operations