import: Forgot to initialize map
This commit is contained in:
parent
ac39359607
commit
3eaa5bf8e3
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ func main() {
|
|||
var data Stats
|
||||
data.ByUser = make(map[string]uint64)
|
||||
data.ByDate = make(map[string]uint64)
|
||||
data.Username = make(map[string]string)
|
||||
|
||||
scanner := bufio.NewScanner(file)
|
||||
lines := 0
|
||||
|
|
Reference in a new issue