Go Tutorial - INTERFACES Part 2 (Empty Interfaces, Type Assertions, Type Switch)

Опубликовано: 22 Февраль 2021
на канале: Esoteric Tech
4,794
182

Go Interfaces Part 2

This is the second tutorial of a 4 part Golang series covering interfaces. The first video covered the basics while this video covers Type Assertions, Empty Interfaces and Type Switch statement all of which are required to have a solid understanding of how to work with interfaces in Golang.

Type assertions, and empty interfaces are occassionally needed when developing robost API's. Understanding these concepts will help you become a better GO programmer and better developer in general.

And just like the last video on interfaces, this video includes helpful pop-up tips to make sure you're getting the most out of these tutorials!

⏲TIMESTAMPS⏲
00:00​ Intro
02:19​ Type Assertions
07:18​ Making the wrong assertion (Panic!)
09:43​ Empty Interfaces
11:49​ Empty interface variable
12:48​ Type Switch Statements


На этой странице сайта вы можете посмотреть видео онлайн Go Tutorial - INTERFACES Part 2 (Empty Interfaces, Type Assertions, Type Switch) длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Esoteric Tech 22 Февраль 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 4,794 раз и оно понравилось 182 зрителям. Приятного просмотра!