wormhole-explorer/common/repository/types.go

16 lines
214 B
Go

package repository
import (
"time"
)
type IndexingTimestamps struct {
IndexedAt time.Time `bson:"indexedAt"`
}
func IndexedAt(t time.Time) IndexingTimestamps {
return IndexingTimestamps{
IndexedAt: t,
}
}