func GalleryTags(s *models.Gallery, rw models.GalleryReaderWriter, tagReader models.TagReader, cache *match.Cache) error {
	t := getGalleryFileTagger(s, cache)

	return t.tagTags(tagReader, func(subjectID, otherID int) (bool, error) {
		return gallery.AddTag(rw, subjectID, otherID)
	})
}
// GalleryTags tags the provided gallery with tags whose name matches the gallery's path.
GalleryTags tags the provided gallery with tags whose name matches the gallery's path.
// GalleryTags tags the provided gallery with tags whose name matches the gallery ' s path .
func GalleryTags(s *models.Gallery, rw models.GalleryReaderWriter, tagReader models.TagReader, cache *match.Cache) error {
	t := getGalleryFileTagger(s, cache)
	return t.tagTags(tagReader, func(subjectID, otherID int) (bool, error) {
		return gallery.AddTag(rw, subjectID, otherID)
	})
}
func GalleryTags ( s * models . Gallery , rw models . GalleryReaderWriter , tagReader models . TagReader , cache * match . Cache ) error { t := getGalleryFileTagger ( s , cache ) return t . tagTags ( tagReader , func ( subjectID , otherID int ) ( bool , error ) { return gallery . AddTag ( rw , subjectID , otherID ) } ) }
GalleryTags tags the provided gallery with tags whose name matches the gallery's path.
GalleryTags tags the provided gallery with tags whose name matches the gallery ' s path .