The repository for my Go HTTP Servers tutorial on YouTube
Find a file
2026-08-28 04:28:58 +00:00
section1 update go version, all tests still passing 2026-08-27 23:16:27 -05:00
section2and3 update go version, all tests still passing 2026-08-27 23:16:27 -05:00
section4and5 update go version, all tests still passing 2026-08-27 23:16:27 -05:00
section6 update go version, all tests still passing 2026-08-27 23:16:27 -05:00
section7 update go version, all tests still passing 2026-08-27 23:16:27 -05:00
.gitignore update gitignore to omit Editor/IDE files 2025-07-09 14:59:43 -06:00
LICENSE Update LICENSE 2025-07-24 18:17:40 -06:00
README.md Update README.md 2026-08-28 04:28:58 +00:00

Welcome to Introduction to Basic Go HTTP Servers

This is the code repository for the video tutorial series located here:
https://www.youtube.com/playlist?list=PLlv5lnjOHQo7m2w-KjtTZq10ZNVfNHHdP

You can support me and help me create more content in the following ways:

Ko-Fi: https://Ko-fi.com/mongoosestudios
Patreon: https://patreon.com/MongooseStudios

Or by sharing this tutorial with your friends!

With thanks to https://github.com/MariaLetta/free-gophers-pack for the great Gopher art

Note: This repository has been updated to Go version 1.27 No code changes were required for this update.

If you would like to use the new WaitGroup.Go syntax that was introduced in version 1.25 you can substitiute that for the older, more verbose, syntax used in the graceful shutdown portion.

A Word of Warning

The code provided here is intended to be a way for you to figure out where you went wrong if necessary.

I encourage you to use this tutorial as a resource to "prime the pump" or to get un-stuck in your own projects. But make sure to attempt each step on your own if you want to get the most out of this tutorial.

I strongly suggest turning off any AI features that your IDE/Editor may provide that will fill in work for you.

Requirements

This tutorial assumes that you have your environment set up to run Go code. It also assumes that you have a basic familiarity with the Go programming language. The tutorial has been created with Go 1.24 but any reasonably close version should be the same for this purpose.

I will try to update it if there are any major changes in the future that break the tutorial.

In order to follow along with this tutorial you will need an IDE and a computer capable of running it, it does not need to be an extremely powerful computer.

I have used GoLand as my IDE, but I didn't use any features that aren't standard features of any modern IDE, and you're welcome to use whatever you prefer.

Lastly it will be helpful if you have an API testing tool such as Insomnia installed. If you have a preference for another similar tool then please feel free to use that. The only thing that really matters is the ability to easily send and receive JSON data to interact with the server we will be building.


This tutorial was created by a human, for humans. AI was not used to generate any part of the tutorial, and it will not be used during the tutorial.