Go is widely used for backend services, and it is well suited to them: the standard library includes a production-quality HTTP server, and the language handles many simultaneous requests naturally. This module puts the earlier material to work on a real kind of program.
It starts with a simple HTTP server and how handlers respond to requests. It then builds a REST API using the standard library, and moves on to databases: connecting with the database/sql package and performing SQL CRUD operations and transactions.
Watch the lessons in order and build along, since this module is easiest to learn by making a small working service, then continue on to Testing, Tooling & Profiling.
Creating a basic HTTP server in Go and responding to requests with handlers.
Starting a REST API in Go with nothing but the standard library, no framework required.
Working with SQL databases from Go through the standard database/sql package.
Creating, reading, updating and deleting data with SQL from Go, and grouping changes into transactions.