-
-
Save horlabyc/e766e2bcf79fcb4463b0ce7f8e55a938 to your computer and use it in GitHub Desktop.
Map data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/csv" | |
"log" | |
"os" | |
"strconv" | |
) | |
func mapData(gameNames []string, sales []float64) CountList { | |
dataMap := map[string]float64{} | |
for index, value := range gameNames { | |
dataMap[value] = sales[index] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment