velodrome/transform/plugins/fake_comment_wrapper.go
func (o *FakeCommentPluginWrapper) ReceiveComment(comment sql.Comment) []Point {
	// Create a fake "commented" event for every comment we receive.
	fakeEvent := sql.IssueEvent{
		IssueID:        comment.IssueID,
		Event:          "commented",
		EventCreatedAt: comment.CommentCreatedAt,
		Actor:          &comment.User,
	}

	return append(
		o.plugin.ReceiveComment(comment),
		o.plugin.ReceiveIssueEvent(fakeEvent)...,
	)
}
func (o *FakeCommentPluginWrapper) ReceiveComment(comment sql.Comment) []Point {
	// Create a fake "commented" event for every comment we receive.
	fakeEvent := sql.IssueEvent{
		IssueID:        comment.IssueID,
		Event:          "commented",
		EventCreatedAt: comment.CommentCreatedAt,
		Actor:          &comment.User,
	}

	return append(
		o.plugin.ReceiveComment(comment),
		o.plugin.ReceiveIssueEvent(fakeEvent)...,
	)
}
// ReceiveComment creates a fake "commented" event