Documentation ¶
Index ¶
- Variables
- func Init() time.Time
- func InitTypeRegistries(exec boil.Executor) error
- func InitWithDefault(defaultDb *sql.DB) time.Time
- func Shutdown()
- type AuthorRegistry
- type CollectionProperties
- type ContentRoleTypeRegistry
- type ContentTypeRegistry
- type ContentUnitProperties
- type FileProperties
- type PersonsRegistry
- type SourceTypeRegistry
- type Timestamp
- type TypeRegistry
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DB *sql.DB ESC *elastic.Client SofficeBin string DocFolder string ParseDocsBin string CDNUrl string )
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"` }
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.