collection

package
v0.0.0-...-f1991a8 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollectionStore

type CollectionStore interface {
	NewCollection(name, description string) (photo.Collection, error)
	GetCollectionByName(id photo.CollectionName) (photo.Collection, error)
	ContainsCollectionByName(id photo.CollectionName) (bool, error)
	GetAllCollections() ([]photo.Collection, error)
}

func NewCollectionStore

func NewCollectionStore(db *sql.DB, pStore photostore.PhotoStore) (cStore CollectionStore, err error)

Jump to

Keyboard shortcuts

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