package main import ( "sync" "github.com/bluesky-social/indigo/backfill" "gorm.io/gorm" ) type Backend struct { state *gorm.DB bf *backfill.Backfiller firehoseLk sync.Mutex firehoseSeq string reposLk sync.Mutex reposSeq string } func NewBackend(state *gorm.DB, bf *backfill.Backfiller) *Backend { return &Backend{ state: state, bf: bf, } }