repositories

package
v0.0.0-...-5e2e8f1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExperiencesRepository

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

func NewExperiencesRepository

func NewExperiencesRepository(coll *mongo.Collection) *ExperiencesRepository

func (*ExperiencesRepository) FindById

func (r *ExperiencesRepository) FindById(id string) (domain.Experience, error)

func (*ExperiencesRepository) ListAll

func (r *ExperiencesRepository) ListAll() ([]domain.Experience, error)

func (*ExperiencesRepository) Save

func (r *ExperiencesRepository) Save(experience *domain.Experience) error

func (*ExperiencesRepository) Update

func (r *ExperiencesRepository) Update(experience *domain.Experience) error

Jump to

Keyboard shortcuts

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