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

Published: 22 February 2021
on channel: 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


On this page of the site you can watch the video online Go Tutorial - INTERFACES Part 2 (Empty Interfaces, Type Assertions, Type Switch) with a duration of hours minute second in good quality, which was uploaded by the user Esoteric Tech 22 February 2021, share the link with friends and acquaintances, this video has already been watched 4,794 times on youtube and it was liked by 182 viewers. Enjoy your viewing!