Go is a fairly nice little language to use to build micro-services and web applications. In this tutorial series, I will cover building a web application from scratch using the core libraries of the Go language.
In this first tutorial, we look at how we can create handlers and serve information from text documents that are on the localhost. We also look at how we can take strings and convert them into HTML to be able to format the data that we are displaying on the server. From there, we will look at some of the basic conventions that are used to create HTML templates using the Go template engine. Our handlers will cover creating and using GET, PUT and POST requests in Go's standard library.
The source code for this project can be found here
(Note: this is an older tutorial series however, it is still completely relevant for the current version of Golang; 1.9).