model

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: MIT Imports: 5 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrLatLngNeedsExactlyTwoValues = errors.New("LatLng needs exactly two values")

Functions

This section is empty.

Types

type Exif

type Exif struct {
	Date        time.Time      `json:"date,omitempty"`
	Data        map[string]any `json:"data,omitempty"`
	Coordinates *LatLng        `json:"coordinates,omitempty"`
}

func (Exif) GetCity added in v0.8.0

func (e Exif) GetCity() string

func (Exif) GetCountry added in v0.8.0

func (e Exif) GetCountry() string

func (Exif) GetRawCoordinates added in v0.8.0

func (e Exif) GetRawCoordinates() string

func (Exif) GetString added in v0.8.0

func (e Exif) GetString(key string) string

func (Exif) HasAddress added in v0.8.0

func (e Exif) HasAddress() bool

func (Exif) HasData added in v0.5.0

func (e Exif) HasData() bool

func (Exif) IsZero

func (e Exif) IsZero() bool

type LatLng added in v0.8.0

type LatLng [2]float64

func ParseLatLng added in v0.8.0

func ParseLatLng(raw string) (LatLng, error)

Jump to

Keyboard shortcuts

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