January 2015
Intermediate to advanced
274 pages
5h 55m
English
A web service is nothing more than a simple Go program that binds to a specific HTTP address and port and serves requests, so we get to use all our command-line tool-writing knowledge and techniques.
We also want to ensure that our main function is as simple and modest as possible, which is always a goal of coding, especially in Go.
Before we write our main function, let's look at a few design goals of our API program:
Read now
Unlock full access