service

package
v0.0.0-...-a783adc Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoryService

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

func (*CategoryService) GetCategoriesAndTags

func (s *CategoryService) GetCategoriesAndTags(ctx context.Context) ([]domain.Category, error)

func (*CategoryService) GetMenus

func (s *CategoryService) GetMenus(ctx context.Context) (menuVO []domain.MenuVO, err error)

func (*CategoryService) GetTagsByName

func (s *CategoryService) GetTagsByName(ctx context.Context, name string) ([]string, error)

type ICategoryService

type ICategoryService interface {
	GetCategoriesAndTags(ctx context.Context) ([]domain.Category, error)
	GetMenus(ctx context.Context) ([]domain.MenuVO, error)
	GetTagsByName(ctx context.Context, name string) ([]string, error)
}

Jump to

Keyboard shortcuts

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