repo

package
v0.0.0-...-d5bd9cb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProfileRepoMongoDB

type ProfileRepoMongoDB struct {
	// contains filtered or unexported fields
}

func NewProfileRepoMongoDB

func NewProfileRepoMongoDB(c *mongo.Collection) *ProfileRepoMongoDB

func (*ProfileRepoMongoDB) GetAllProfiles

func (p *ProfileRepoMongoDB) GetAllProfiles(ctx context.Context) ([]*domain.UserProfile, error)

func (*ProfileRepoMongoDB) GetProfileByID

func (p *ProfileRepoMongoDB) GetProfileByID(ctx context.Context, id string) (*domain.UserProfile, error)

func (*ProfileRepoMongoDB) GetProfilesByGender

func (p *ProfileRepoMongoDB) GetProfilesByGender(ctx context.Context, gender string) ([]*domain.UserProfile, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL