stats-import: GUESS WHO FORGOT TO INIT A MAP

This commit is contained in:
Hamcha 2016-02-14 10:34:52 +01:00
parent 942651dacb
commit e2e2e5aae0

View file

@ -58,6 +58,7 @@ func main() {
data.ByUser = make(map[string]uint64)
data.ByDate = make(map[string]uint64)
data.Username = make(map[string]string)
data.Words = make(map[string]UserCount)
scanner := bufio.NewScanner(file)
lines := 0