July 2019
Intermediate to advanced
502 pages
14h
English
Go kit is all about best practices. Your business logic is implemented as pure Go libraries that only deal with interfaces and Go structs. All the complex aspects involved in APIs, serialization, routing, and networking will be relegated to clearly separate layers that are taking advantage of Go kit concepts and infrastructures such as transports, endpoints, and services. This makes for a great development experience, where you can evolve and test your application code in the simplest environment possible. Here is the interface for one of Delinkcious' services – the social graph. Note that it is in plain Go. There is no notion of API, microservice, or even Go kit imports:
type SocialGraphManager interface ...