Skip to content

Commit

Permalink
feature: Implemented more resource methods
Browse files Browse the repository at this point in the history
  • Loading branch information
akeemphilbert committed Aug 16, 2024
1 parent 83deafe commit 550efab
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions rest/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,15 @@ func (e *Event) Persist() {
}

func (e *Event) GetType() string {
//TODO implement me
panic("implement me")
return e.Type
}

func (e *Event) GetSequenceNo() int64 {
//TODO implement me
panic("implement me")
return e.Meta.SequenceNo
}

func (e *Event) GetID() string {
//TODO implement me
panic("implement me")
return e.ID
}

func (e *Event) FromBytes(schema *openapi3.T, data []byte) (Resource, error) {
Expand Down

0 comments on commit 550efab

Please sign in to comment.