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