lint and fmt

This commit is contained in:
tsmethurst
2021-06-03 18:16:33 +02:00
parent ab7db633d0
commit 31a24167fe
7 changed files with 37 additions and 16 deletions

View File

@ -5,6 +5,7 @@ import (
"github.com/superseriousbusiness/gotosocial/internal/processing/timeline"
)
// NewTestTimelineManager retuts a new timeline.Manager, suitable for testing, using the given db.
func NewTestTimelineManager(db db.DB) timeline.Manager {
return timeline.NewManager(db, NewTestTypeConverter(db), NewTestConfig(), NewTestLog())
}