photo

package
v0.0.0-...-8ecf71c Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2018 License: BSD-2-Clause Imports: 1 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Archivist

type Archivist interface {
	ArchivePhotos(...Photo) error
}

type FlickrPhoto

type FlickrPhoto struct {
	Photo `json:",omitempty"`
	ID    int64 `json:"id"`
}

func (*FlickrPhoto) Id

func (ph *FlickrPhoto) Id() int64

type Photo

type Photo interface {
	Id() int64
}

func NewFlickrPhoto

func NewFlickrPhoto(id int64) (Photo, error)

func NewFlickrPhotoFromString

func NewFlickrPhotoFromString(str_id string) (Photo, error)

Jump to

Keyboard shortcuts

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