Interfaces, Testing and Mocking in Go

Описание к видео Interfaces, Testing and Mocking in Go

Interfaces are abstraction types that define a set of methods and their signatures without providing any implementation.
You can think of it as a contract that your module should follow.

Let's see how to use them in Go to create decoupled modules that are easy to test, refactor, and extend.

The full code can be seen at https://github.com/IlianIliev/go-topics/tr...

#golang #interfaces #testing #mocking

Комментарии

Информация по комментариям в разработке