@@ -61,11 +61,11 @@ type TimelineItem struct { ID string // TODO: See if this belongs here. Actor users.User CreatedAt time.Time // Payload specifies the event type. It's one of: // ClosedEvent, ReopenedEvent, ..., MergedEvent, ApprovedEvent. // ClosedEvent, ReopenedEvent, ..., MergedEvent, DeletedEvent. Payload interface{} } type ( // ClosedEvent is when a change is closed. @@ -109,10 +109,6 @@ type ( // THINK: Merge with "github.com/shurcooL/events/event".Delete? DeletedEvent struct { Type string // "branch", "comment". Name string } // TODO: Remove, now that these have been merged into Review. ApprovedEvent struct{} ChangesRequestedEvent struct{} )