diff options
Diffstat (limited to 'stdin.go')
-rw-r--r-- | stdin.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -50,7 +50,7 @@ func parseRawData(in <-chan []byte, cfg *Config) <-chan []RawData { } var rd RawData - err := json.Unmarshal(line, rd) + err := json.Unmarshal(line, &rd) if err != nil { log.Println("Failed in parsing json:", err) close(out) |