refactored, linted, formatted

This commit is contained in:
sneak committed 2019-12-19 06:24:26 -08:00
1 parent 5144a957e5
commit 7a9d7a5e5b
11 files changed
+247 -165

No files matched your search

+3
View File
@@ -52,5 +52,8 @@ func (ti *TootIngester) readFromInboundChannel() {
func (ti *TootIngester) storeToot(t *toot.Toot) {
// FIXME first check for dupes in recentlySeen
if ti.storageBackend == nil {
panic("no storage backend")
}
ti.storageBackend.StoreToot(*t)
}