Summary
Go is widely used for developing RESTful clients and servers and this chapter illustrated how to program professional RESTful clients and servers in Go, and how to document a REST API using Swagger. Remember that defining a proper REST API and implementing a server and clients for it is a process that takes time and requires small adjustments and modifications.
The next chapter is about code testing, benchmarking, profiling, cross-compilation, and creating example functions. Among other things, we are going to write code for testing the HTTP handlers developed in this chapter as well as creating random input for testing purposes.