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

Pubblicato il: 22 febbraio 2021
sul canale di: 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


In questa pagina del sito puoi guardare il video online Go Tutorial - INTERFACES Part 2 (Empty Interfaces, Type Assertions, Type Switch) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Esoteric Tech 22 febbraio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 4,794 volte e gli è piaciuto 182 spettatori. Buona visione!