data_stores

package
v0.0.0-...-2ba029f Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoriesStore

type CategoriesStore struct {
	Provider *database.DBProvider
}

func (*CategoriesStore) FindByName

func (s *CategoriesStore) FindByName(name string) (dao.Category, error)

func (*CategoriesStore) GetAll

func (s *CategoriesStore) GetAll() ([]dao.Category, error)

type FurnituresStore

type FurnituresStore struct {
	Provider *database.DBProvider
}

func (*FurnituresStore) FindByName

func (s *FurnituresStore) FindByName(name string) (dao.Furniture, error)

func (*FurnituresStore) GetAll

func (s *FurnituresStore) GetAll() ([]dao.Furniture, error)

func (*FurnituresStore) GetByCategory

func (s *FurnituresStore) GetByCategory(category string) ([]dao.Furniture, error)

Jump to

Keyboard shortcuts

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