Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rwynn committed Mar 4, 2018
1 parent 0b9e47b commit 6cced3d
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 @@ -175,7 +175,7 @@ unmarshalled to a generic map[string]interface{} you can use a custom unmarshal
select {
case op:= <-ctx.OpC:
if op.Namespace == "test.test" {
doc := ctx.Doc.(MyDoc)
doc := op.Doc.(MyDoc)
fmt.Println(doc.Foo)
}
}
Expand Down

0 comments on commit 6cced3d

Please sign in to comment.