Introduction
Explore building the goto URLShortener web application in Go by progressively implementing features like concurrency with mutexes, persistent storage, goroutines, JSON support, and RPC-based distribution. This lesson helps you understand essential Go constructs by applying them in a real-world project.
We'll cover the following...
We'll cover the following...
In this chapter, we will develop a complete program: goto, a URLShortener web application, because the web is all-ubiquitous, and we don’t want to type long URLs. The example is taken from the excellent lecture from Andrew Gerrand at FOSSDEM 2011. We will do this in 3 stages; each stage has more functionalities and shows progressively more features of the Go language. We will draw heavily on what we have learned about web ...