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
Click to show internal directories.
Click to hide internal directories.