summaryrefslogtreecommitdiff
path: root/stdin.go
diff options
context:
space:
mode:
Diffstat (limited to 'stdin.go')
-rw-r--r--stdin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdin.go b/stdin.go
index c331076..082dddf 100644
--- a/stdin.go
+++ b/stdin.go
@@ -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)