Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TeamRepository ¶
type TeamRepository struct {
*mongo.Collection
}
TeamRepository is the repository for Team objects
func NewTeamRepository ¶
func NewTeamRepository(db *mongo.Database) (*TeamRepository, error)
NewTeamRepository creates a new TeamRepository
type UserRepository ¶
type UserRepository struct {
*mongo.Collection
}
UserRepository is the repository for user objects
func NewUserRepository ¶
func NewUserRepository(db *mongo.Database) (*UserRepository, error)
NewUserRepository creates a new UserRepository
Click to show internal directories.
Click to hide internal directories.