package services import ( "git.aiterp.net/stufflog/server/database" "git.aiterp.net/stufflog/server/internal/space" ) type Bundle struct { Auth *Auth Upload *Upload } func NewBundle(db database.Database, s3 *space.Space) Bundle { auth := &Auth{ users: db.Users(), session: db.Session(), projects: db.Projects(), } upload := &Upload{s3: s3} return Bundle{ Auth: auth, Upload: upload, } }