photos

package
v1.22.9 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrResizeImageNotReady = errors.New("Resized image is not ready")

ErrResizeImageNotReady indicates that resized image is not ready yet

Functions

func AddLocationsField added in v1.20.1

func AddLocationsField(ctx context.Context, api apis.Photos) error

AddLocationsField is a schema updater to add new Locations field (derived from Location field)

func AddMissingTsSortKeys added in v1.0.0

func AddMissingTsSortKeys(ctx context.Context, api apis.Photos) error

AddMissingTsSortKeys is a schema updater to add missing tsSortKey fields

func NewAPI

func NewAPI(mdb *mongo.Database, top *apis.APIs) apis.Photos

NewAPI returns a new apiImpl object for photos

func RemoveLocationField added in v1.20.3

func RemoveLocationField(ctx context.Context, api apis.Photos) error

RemoveLocationField is a schema updater to remove the deprecated Location field

Types

This section is empty.

Jump to

Keyboard shortcuts

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