Documentation
¶
Overview ¶
Package cover manages folder cover photos and their associations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CoverPhotoCollectionKey = "coverPhoto"
CoverPhotoCollectionKey is the MongoDB collection name for cover photos.
Functions ¶
func DeleteCoverByFolderID ¶
DeleteCoverByFolderID removes the cover photo for a folder.
Types ¶
type Photo ¶
Photo represents a folder's cover photo mapping.
func GetCoverByFolderID ¶
GetCoverByFolderID retrieves the cover photo for a folder by its ID.
func GetCoversByFolderIDs ¶
GetCoversByFolderIDs retrieves cover photos for multiple folders in a single query. Folders without covers are silently omitted from the result.
Click to show internal directories.
Click to hide internal directories.