repository

package
v0.0.0-...-3122bcc Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CityStorage

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

func NewCityStorage

func NewCityStorage(pool pgxpool.IPgxPool) (*CityStorage, error)

func (*CityStorage) GetFullCities

func (c *CityStorage) GetFullCities(ctx context.Context) ([]*models.City, error)

func (*CityStorage) SearchCity

func (c *CityStorage) SearchCity(ctx context.Context, searchInput string) ([]*models.City, error)

Jump to

Keyboard shortcuts

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