GraphQL API and utilities for the rpdata project
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.
 
 

17 lines
374 B

package services
import "git.aiterp.net/rpdata/api/repositories"
// A Bundle contains all services, like a bean bag in the more caffeinated language family.
type Bundle struct {
Tags *TagService
}
// NewBundle creates a new bundle.
func NewBundle(repos *repositories.Bundle) *Bundle {
bundle := &Bundle{}
bundle.Tags = &TagService{tags: repos.Tags}
return bundle
}