model

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exif

type Exif struct {
	Date    time.Time      `json:"date,omitempty"`
	Data    map[string]any `json:"data,omitempty"`
	Geocode Geocode        `json:"geocode,omitempty"`
}

func (Exif) HasData added in v0.5.0

func (e Exif) HasData() bool

func (Exif) IsZero

func (e Exif) IsZero() bool

type Geocode

type Geocode struct {
	Address   map[string]string `json:"address,omitempty"`
	Latitude  float64           `json:"lat,omitempty"`
	Longitude float64           `json:"lon,omitempty"`
}

func (Geocode) HasAddress added in v0.4.0

func (g Geocode) HasAddress() bool

func (Geocode) HasCoordinates added in v0.4.0

func (g Geocode) HasCoordinates() bool

Jump to

Keyboard shortcuts

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