We overview the basics of maps in Go, from how to declare maps to seeing that maps are pass by reference, and how to control ranging over the keys of a map in a desired order.
Like what you see? Please like, subscribe, and check out our free online course accompanying this video at https://programmingforlovers.com.
Check your work on this code along and get access to dozens of autograded exercises at Cogniterra: https://cogniterra.org/course/63/promo.
Join our P4❤️ community Discord: / discord
Help us grow our project by making a donation: https://www.paypal.com/donate?campaig....
00:00 Introduction
00:29 Declaring maps
01:20 Substring indexing
04:46 Deleting an element from a map
05:31 Array, slice, and map literals
09:24 Maps are pass by reference
14:14 Ranging over a map
17:39 Controlling the order in which keys are accessed
22:31 Sign off and happy coding! ❤️
Sur cette page du site, vous pouvez voir la vidéo en ligne An Introduction to Maps in Go durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Philomath 12 novembre 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 221 fois et il a aimé 4 téléspectateurs. Bon visionnage!