Golang Data Structures For Beginners: Generic List

preview_player
Показать описание
In this Golang tutorial, I'll teach you how to create a generic list in Golang. We'll use the standard slice type from the go programming language and extend it with our own functionality by using Golang generics 1.18.

If you're new to Golang and want to learn how to create basic data structures, then this video is for you! By the end of this video, you'll know how to create a generic list in Golang, which will be useful for many situations.

📢 I am also building a Discord community! Feel free to join if you are willing to learn about distributed systems, blockchain, web3, Defi, and quantitative trading. Or just hang out and chat.

► Support me on PATREON and get access to exclusive lessons, tutorials, and LIVE streams

► Join my Discord community for free education

► Follow me on GitHub

► Follow me on Twitter

#golang
Рекомендации по теме
Комментарии
Автор

👉 Join the Discord community for blockchain, distributed systems, Golang and Rust education:

Thanks for watching <3

anthonygg_
Автор

man you always show me efficient ways to write in Go compared to any other resource on their website or anywhere else. Thanks man!

colbyberger
Автор

Great video!
Thanks for the explanation )

user_v
Автор

Hi Anthony. Amazing content. Just discovered your channel. One comment. The removing and getting functions by index do not require that we loop through the entire list, wouldn't just be enough to return l.data[i] with the additional panic checks, for example in the Get function? When getting and removing by value, for loop is definitely necessary.

iduran
Автор

Great video, additions could include sorting the elements within a list based on types

mishrasidhant
Автор

Hello Anthony. Please record a video about the work of InfluxDB + golang. How to work with stock information on InfluxDB. There is no detailed information on this topic on YouTube. It will be very cool!

pavelpavlov
Автор

Channel looks cool but the low volume and small font size makes it a struggle to watch.

youtubeviewer
join shbcf.ru