initialize map in golang
package main
import "fmt"
func main() {
// Step 1: Declare an empty map with string keys and int values
myMap := make(map[string]int)
// Step 2: Add key-value pairs to the map
myMap["one"] = 1
myMap["two"] = 2
myMap["three"] = 3
// Step 3: Print the initialized map
fmt.Println("Initialized Map:", myMap)
}