Interfaces are a very important concept in Go language. They provide a simple and effective way to express common behaviors among types. They give us easy to understand solution for typical situations where we need some kind of polymorphism. That’s why interfaces are used all the time by Golang developers. Some of the interfaces are more special than others. Most essential ones are defined in Go standard library. They are used and can be found in every Go project.
Last updated on September 29th, 2017Go (popularly referred to as golang) is an open source programming language made by Robert Griesemer, Rob Pike, and Ken Thompson in 2007 at Google. It is a compiled and statically typed language. Go is developed by some of the individuals who created the C programming language, Unix, and UTF-8. Go…
Let me explain why a Python fan of many years could say that. But to understand that we have to go back in time to see how my fascination with Python began.
Simplest possible solution for communication between services is to use JSON over HTTP. Though JSON has many obvious advantages - it’s human readable, well understood, and typically performs well - it also has its issues. In the case of internal services the structured formats, such as Google’s Protocol Buffers, are a better choice than JSON for encoding data. gRPC uses protobuf by default, and it’s faster because it’s binary and it’s type-safe.
Matt Heath discusses why Go is suited for a microservices architecture, the language features that make it particularly attractive to high volume, low latency, distributed applications, and how easy it is to adopt into existing systems and organisations.
Что такое AMA? Этот формат очень популярен на Reddit. Ты рассказываешь о себе и предлагаешь читателям задавать любые вопросы: Ask Me Anything! Особенно круто...