geolocation

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateGeoLocationParams

func NewCreateGeoLocationParams(geoLocationDto *coreDto.GeoLocationDto) db.CreateGeoLocationParams

func NewUpdateGeoLocationParams

func NewUpdateGeoLocationParams(id int64, geoLocationDto *coreDto.GeoLocationDto) db.UpdateGeoLocationParams

Types

type GeoLocationResolver

type GeoLocationResolver struct {
	Repository geolocation.GeoLocationRepository
}

func NewResolver

func NewResolver(repositoryService *db.RepositoryService) *GeoLocationResolver

func (*GeoLocationResolver) CreateGeoLocationDto

func (r *GeoLocationResolver) CreateGeoLocationDto(ctx context.Context, geoLocation db.GeoLocation) *coreDto.GeoLocationDto

func (*GeoLocationResolver) CreateGeoLocationListDto

func (r *GeoLocationResolver) CreateGeoLocationListDto(ctx context.Context, geoLocations []db.GeoLocation) []*coreDto.GeoLocationDto

func (*GeoLocationResolver) ReplaceGeoLocation

func (r *GeoLocationResolver) ReplaceGeoLocation(ctx context.Context, id *sql.NullInt64, geoLocationDto *coreDto.GeoLocationDto) *geom.Geometry4326

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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