Learn Go Generics | GoLang 1.18 Generics



Learn Go Generics | GoLang 1.18 Generics

Learn Go Generics | GoLang 1.18 Generics

So Go version 1.18 is dropping soon, so in this video we will look at how we can use Generics in Go. We will learn how to download and use the Go 1.18 Beta binary along side your already installed Go.

We will also look at the new keyword “any” that can be used in generics and as an argument type in functions.

What do you thing of Generics? Are you looking forward to using them? Or do you not have any real use cases for them? I probably wont use them that much at all.. but the new any keyword will be useful.

You can get the latest version of the Go 1.18 beta here:
https://golang.org/dl/go1.18beta2

If you wanna support my channel, you can buy me a coffee:
☕️ https://www.buymeacoffee.com/nerdcademy
Coffee make the code go!!!

💻 Programming Laptop
https://kit.co/nerdcademy/framework-laptop

🎥 My Video Kit
https://kit.co/nerdcademy/my-video-kit

🖥 Video Editing PC
https://kit.co/nerdcademy/m1-mac-mini-setup

All code found in this video will be at:
💻 https://github.com/NerdCademyDev/golang

🎨 Gopher Character artwork from:
https://github.com/MariaLetta/free-gophers-pack

#nerdcademy #golang #generics

Comments are closed.