region

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRegionService

func NewRegionService(regionRepository storage.RegionRepository) service.RegionService

Types

type RegionService

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

func (*RegionService) GetAll

func (s *RegionService) GetAll(ctx context.Context) ([]*domain.Region, error)

func (*RegionService) GetByID

func (s *RegionService) GetByID(ctx context.Context, id int32) (*domain.Region, error)

func (*RegionService) Ready

func (s *RegionService) Ready() bool

Jump to

Keyboard shortcuts

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