Documentation ¶
Index ¶
- func GetIDs(performers []*models.Performer) []int
- func GetNames(performers []*models.Performer) []string
- func ToJSON(reader models.PerformerReader, performer *models.Performer) (*jsonschema.Performer, error)
- func ValidateDeathDate(performer *models.Performer, birthdate *string, deathDate *string) error
- type Importer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToJSON ¶
func ToJSON(reader models.PerformerReader, performer *models.Performer) (*jsonschema.Performer, error)
ToJSON converts a Performer object into its JSON equivalent.
Types ¶
type Importer ¶
type Importer struct { ReaderWriter models.PerformerReaderWriter TagWriter models.TagReaderWriter Input jsonschema.Performer MissingRefBehaviour models.ImportMissingRefEnum ID int // contains filtered or unexported fields }
func (*Importer) FindExistingID ¶
func (*Importer) PostImport ¶
Click to show internal directories.
Click to hide internal directories.