city

package
v0.0.0-...-cb8f91d Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMssqlCityRepository

func NewMssqlCityRepository(db *database.Database) contract.ICityRepository

Types

type MssqlCityRepository

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

func (*MssqlCityRepository) GetById

func (cr *MssqlCityRepository) GetById(ctx context.Context, id model.IntId) (*model.City, error)

func (*MssqlCityRepository) GetCities

func (cr *MssqlCityRepository) GetCities(ctx context.Context) ([]*model.City, error)

Jump to

Keyboard shortcuts

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