domain

package
v0.0.0-...-ca40f45 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Crime

type Crime struct {
	ID           int64   `json:"id"`
	LocationName string  `json:"location_name"`
	Longitude    float64 `json:"longitude"`
	Latitude     float64 `json:"latitude"`
	Description  string  `json:"description"`
	Image        string  `json:"image"`
	Date         string  `json:"date"`
}

type Home

type Home struct {
	ID        int64   `json:"id"`
	FirstName string  `json:"first_name"`
	LastName  string  `json:"last_name"`
	UserName  string  `json:"user_name"`
	Longitude float64 `json:"longitude"`
	Latitude  float64 `json:"latitude"`
	Image     string  `json:"image"`
}

type HomeCrime

type HomeCrime struct {
	Crime
	Distance float64 `json:"distance"`
	MapImage []byte  `json:"map_image"`
}

Jump to

Keyboard shortcuts

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