mutatephotos

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2019 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(opts *Options) error

Do performs a set of mutations on the listed photos.

Types

type Options

type Options struct {
	// Ctx is a valid context.Context to run this command under.
	Ctx context.Context

	// Storage is a Google Cloud Storage client.
	Storage *storage.Client

	// ObjStore is an ObjectStore client.
	ObjStore *objectstore.ObjectStore

	// Cfg is the configuration settings.
	Cfg *config.Config

	// Tags is the set of photos to add and remove.
	Tags util.Tags

	// DryRun if True then actually perform the modifications, otherwise just print what would happen.
	DryRun bool
}

Options allows you to modify the behavior of the MutatePhotos action.

Jump to

Keyboard shortcuts

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