You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
282 B
19 lines
282 B
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,
|
|
}
|
|
}
|