Hello! This workshop will focus on creating APIs using just the core library of Go.
To get the most out of this guide, here are a couple of suggestions;
- Follow the READMEs, exploring the code and playing with the projects you see here
- Create your own project and copy this guide to recreate the lessons
- Clone/fork the repo and try tweaking/breaking things
- Follow the READMEs, but do your own thing, use different APIs, datastores, etc.
These lessons are largely approachable in any order, provided the first lesson is understood.
This serves as a pre-cursor to the rest of the lessons, it sets up a basic hello world server.
This lesson aims to teach how to write APIs that use other APIs. Useful for writing slackbots, logic APIs that call data layer APIs, or anything else that catches your interest.
This lesson aims to teach how to write webapps, to render HTML pages using a Go server.
This lesson aims to teach how to write APIs that need to work with storage; in memory, file storage, databases, or anything else. It's recommended to understand serialising/deserialising, which is discussed in the third party API lessons.
This lesson explores the ways in which we can test our http server.
This lesson explores the ways in which we can add middleware to our http server.
- Writing Web Applications on the golang docs.
- Go by example.
- OpenAPI code gen tools if you're supporting openAPI/swagger.
- Dockerize your Go binaries.