Documentation ¶
Index ¶
- type TechnologiesRepository
- func (r *TechnologiesRepository) FindByName(name string) (domain.Technology, error)
- func (r *TechnologiesRepository) FindByid(id string) (domain.Technology, error)
- func (r *TechnologiesRepository) FindDisplayable() ([]domain.Technology, error)
- func (r *TechnologiesRepository) Save(technology *domain.Technology) error
- func (r *TechnologiesRepository) SetDisplay(id string, display bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TechnologiesRepository ¶
type TechnologiesRepository struct {
// contains filtered or unexported fields
}
func NewTechnologiesRepository ¶
func NewTechnologiesRepository(coll *mongo.Collection) *TechnologiesRepository
func (*TechnologiesRepository) FindByName ¶
func (r *TechnologiesRepository) FindByName(name string) (domain.Technology, error)
func (*TechnologiesRepository) FindByid ¶
func (r *TechnologiesRepository) FindByid(id string) (domain.Technology, error)
func (*TechnologiesRepository) FindDisplayable ¶
func (r *TechnologiesRepository) FindDisplayable() ([]domain.Technology, error)
func (*TechnologiesRepository) Save ¶
func (r *TechnologiesRepository) Save(technology *domain.Technology) error
func (*TechnologiesRepository) SetDisplay ¶
func (r *TechnologiesRepository) SetDisplay(id string, display bool) error
Click to show internal directories.
Click to hide internal directories.