package services import ( "database/sql" "github.com/maragudk/goqite" ) type queues struct { repos RepositoryService RssIndex goqite.Queue } func NewQueues(conn *sql.DB) queues { return queues{ repos: NewRepositoryService(conn), RssIndex: *goqite.New(goqite.NewOpts{ DB: conn, Name: "rss", }), } }