stats-import: GUESS WHO FORGOT TO INIT A MAP
This commit is contained in:
parent
942651dacb
commit
e2e2e5aae0
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Reference in a new issue