models

package
v0.0.0-...-480ba54 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exif

type Exif map[string]interface{}

Exif Exif data for a photo

func (*Exif) Scan

func (exif *Exif) Scan(src interface{}) error

Scan a function that satisfies the driver.Scan interface in database/sql

func (Exif) Value

func (exif Exif) Value() (driver.Value, error)

Value a function that satisfies the driver.Value interface in database/sql

type Photo

type Photo struct {
	ID       int
	Location string
	Exif     map[string]interface{}
}

Photo contain data regarding photo

Jump to

Keyboard shortcuts

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