Skip to content

Commit 564f8a8

Browse files
committed
Merge pull request #29 from morenoh149/patch-1
fix typo in example script
2 parents ffd7d3c + 6c6ec44 commit 564f8a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/app.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ func main() {
8181
}
8282

8383
if eventType == jsonapi.UnmarshalStop {
84-
fmt.Printf("%s: id, %s, stopped at, %v , and took %v to unmarshal paylaod\n", metricPrefix+".jsonapi_unmarshal_time", callGUID, time.Now(), dur)
84+
fmt.Printf("%s: id, %s, stopped at, %v , and took %v to unmarshal payload\n", metricPrefix+".jsonapi_unmarshal_time", callGUID, time.Now(), dur)
8585
}
8686

8787
if eventType == jsonapi.MarshalStart {
8888
fmt.Printf("%s: id, %s, started at %v\n", metricPrefix+".jsonapi_marshal_time", callGUID, time.Now())
8989
}
9090

9191
if eventType == jsonapi.MarshalStop {
92-
fmt.Printf("%s: id, %s, stopped at, %v , and took %v to marshal paylaod\n", metricPrefix+".jsonapi_marshal_time", callGUID, time.Now(), dur)
92+
fmt.Printf("%s: id, %s, stopped at, %v , and took %v to marshal payload\n", metricPrefix+".jsonapi_marshal_time", callGUID, time.Now(), dur)
9393
}
9494
}
9595

0 commit comments

Comments
 (0)