Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CONTENT_TYPE_REGISTRY = &ContentTypeRegistry{} CONTENT_ROLE_TYPE_REGISTRY = &ContentRoleTypeRegistry{} PERSONS_REGISTRY = &PersonsRegistry{} AUTHOR_REGISTRY = &AuthorRegistry{} SOURCE_TYPE_REGISTRY = &SourceTypeRegistry{} )
Functions ¶
func InitTypeRegistries ¶
Types ¶
type AuthorRegistry ¶
type AuthorRegistry struct {
ByCode map[string]*mdbmodels.Author
}
type CollectionProperties ¶
type CollectionProperties struct { FilmDate Timestamp `json:"film_date"` StartDate Timestamp `json:"start_date"` EndDate Timestamp `json:"end_date"` Country string `json:"country"` City string `json:"city"` FullAddress string `json:"full_address"` Genres []string `json:"genres"` DefaultLanguage string `json:"default_language"` HolidayTag string `json:"holiday_tag"` Source string `json:"source"` Number int `json:"number"` }
type ContentRoleTypeRegistry ¶
type ContentRoleTypeRegistry struct {
ByName map[string]*mdbmodels.ContentRoleType
}
type ContentTypeRegistry ¶
type ContentUnitProperties ¶
type FileProperties ¶
type PersonsRegistry ¶
type PersonsRegistry struct {
ByPattern map[string]*mdbmodels.Person
}
type SourceTypeRegistry ¶
type Timestamp ¶
A time.Time like structure with support for date part only JSON marshalling
func (*Timestamp) UnmarshalJSON ¶
type TypeRegistry ¶
Click to show internal directories.
Click to hide internal directories.