Example implementation of a web API in Go