/
githubmirror
/
photoprism
Обзор
Документация
Войти
/
githubmirror
/
photoprism
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
internal/entity/photo_interface.go
16 строк
338 B
Michael Mayer
Albums: Remove photo from review when adding it to an album #4229
09 май 2024, 17:00
09 май 2024, 17:00
1325569
Код
Авторство
О чём код?
package entity // PhotoInterface represents an abstract Photo entity interface. type PhotoInterface interface { GetID() uint HasID() bool GetUID() string Approve() error Restore() error } // PhotosInterface represents a Photo slice provider interface. type PhotosInterface interface { UIDs() []string Photos() []PhotoInterface }