Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStudioName ¶
GetStudioName returns the name of the provided gallery's studio. It returns an empty string if there is no studio assigned to the gallery.
func ToBasicJSON ¶
func ToBasicJSON(gallery *models.Gallery) (*jsonschema.Gallery, error)
ToBasicJSON converts a gallery object into its JSON object equivalent. It does not convert the relationships to other objects.
Types ¶
type Importer ¶
type Importer struct {
ReaderWriter models.GalleryReaderWriter
StudioWriter models.StudioReaderWriter
PerformerWriter models.PerformerReaderWriter
TagWriter models.TagReaderWriter
JoinWriter models.JoinReaderWriter
Input jsonschema.Gallery
MissingRefBehaviour models.ImportMissingRefEnum
// contains filtered or unexported fields
}
func (*Importer) FindExistingID ¶
func (*Importer) PostImport ¶
Click to show internal directories.
Click to hide internal directories.