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: 5 Imported by: 0

Documentation

Index

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 (*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

Jump to

Keyboard shortcuts

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