Skip to content

Commit

Permalink
using the marshaller
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
  • Loading branch information
matzew committed Dec 10, 2018
1 parent 701b84c commit 30fa2e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Creating HTTP request from CloudEvent:
```
marshaller := v02.NewDefaultHTTPMarshaller()
var req *http.Request
err := event.ToRequest(req)
err := marshaller.ToRequest(req)
if err != nil {
panic("Unable to marshal event into http Request: " + err.String())
}
Expand Down

0 comments on commit 30fa2e7

Please sign in to comment.