Abstract
Go’s popularity in increasing and one of the main usage is building RESTful API. There are plenty of resources online about which framework to use, which ORM is better (do we really need both of them?) and other idiomatic ways to build your code. I will share my experience and show how easy it is to write testable and maintainable API in Go (which is a fundamentally extensible language and we don’t want to break this with our code) that follows good design and some possible solutions of common problems like authentication, logging, database access, testing even if your api uses external services and more.