Remove IDPair!

This commit is contained in:
Mark Haines 2017-02-09 13:52:34 +00:00
parent 7ef832a6f3
commit 497322cc6a

View file

@ -45,13 +45,6 @@ func (a StateEntry) LessThan(b StateEntry) bool {
return a.EventNID < b.EventNID
}
// An IDPair is a pair of a string ID and the corresponding numeric ID.
// It is used when performing bulk numeric ID lookup in the database.
type IDPair struct {
ID string
NID int64
}
// An Event is a gomatrixserverlib.Event with the numeric event ID attached.
// It is when performing bulk event lookup in the database.
type Event struct {