package services import ( "database/sql" "git.jamestombleson.com/jtom38/newsbot-api/internal/domain" "github.com/maragudk/goqite" ) type queues struct { repos RepositoryService RssCollection goqite.Queue } func NewQueues(conn *sql.DB) queues { return queues{ repos: NewRepositoryService(conn), RssCollection: *goqite.New(goqite.NewOpts{ DB: conn, Name: domain.QueueRssCollection, }), } }