Interfaces in Go - Discovering Behavior

Описание к видео Interfaces in Go - Discovering Behavior

Learn Go interfaces by refactoring code to discover interfaces based on the behavior of concrete types. Enjoy!

00:00 Introduction
00:27 Quotes for Interfaces
01:25 Notifying with a Discord Client
03:02 Adding an Email Client
05:02 Discovering the Notifier Interface
08:48 Extending the Notifier Interface
13:00 Accept Interfaces, Return Structs
15:17 Implementing a Mock Notifier for Testing
19:53 Recap of Interfaces
22:10 Final Thoughts

Find the code at https://github.com/sudomateo/sudomateo.

Personal Website: https://matthewsanabria.dev
GitHub: https://github.com/sudomateo
LinkedIn:   / sudomateo  
Twitter:   / sudomateo  
Mastodon: https://mastodon.online/@sudomateo
YouTube:    / @sudomateo  

Комментарии

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