Skip to content

Commit

Permalink
Merge pull request #3 from andrew-nxcr/ak
Browse files Browse the repository at this point in the history
Adds Event.Route
  • Loading branch information
andrew-nxcr committed Sep 19, 2021
2 parents 6b88312 + ccb7679 commit 220846f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions event.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,10 @@ func (e *Event) Op(op string) *Event {
return e.Str("op", op)
}

func (e *Event) Route(route string) *Event {
return e.Str("route", route)
}

func (e *Event) CustomerId(customerId string) *Event {
return e.Str("customerId", customerId)
}
Expand Down

0 comments on commit 220846f

Please sign in to comment.