Go Tutorial - Learn Go from the Basics with Code Examples on golangbot.com · Jun 10, 2024
Golang Maps Tutorial
0Sign in to vote or save
This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.
Welcome to tutorial no. 13 in Golang tutorial series. What is a map? A map is a inbuilt data type in Go which is used to store key-value pairs. A practical use case for a map is for storing the currency codes and the corresponding currency names. USD - United States Dollar EUR - Euro INR - India Rupee A map will be a perfect fit for the above use case use case.
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.