focuscatalog

package
v0.0.0-...-7c08dd5 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHandlers

func RegisterHandlers(ge *gin.Engine, r FocusCatalogItemRepository)

Types

type FocusCatalogItemHandler

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

type FocusCatalogItemRepository

type FocusCatalogItemRepository interface {
	FindAll() []entity.FocusCatalogItem
	FindByName(name string) (entity.FocusCatalogItem, error)
	Insert(catalog entity.FocusCatalogItem) error
	Update(name string, catalog entity.FocusCatalogItem) error
	Delete(name string) error
}

func NewFocusCatalogItemRepository

func NewFocusCatalogItemRepository(db *mongo.Database) FocusCatalogItemRepository

Jump to

Keyboard shortcuts

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