repositories

package
v0.0.0-...-ce4f611 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGymMongoRepository

func NewGymMongoRepository(collection *mongo.Collection) ports.GymRepository

Types

type GymMongoRepository

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

func (*GymMongoRepository) Create

func (r *GymMongoRepository) Create(ctx context.Context, gym *entities.Gym) error

func (*GymMongoRepository) FindOne

func (r *GymMongoRepository) FindOne(ctx context.Context, findGym *ports.FindGym) (*entities.Gym, error)

Jump to

Keyboard shortcuts

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