Versions in this module Expand all Collapse all v0 v0.0.2 Mar 10, 2020 v0.0.1 Mar 8, 2020 Changes in this version + type Category struct + Categories []Category + CategoryID uint + Code string + Name string + func (category Category) DefaultPath() string + func (category Category) Validate(db *gorm.DB) + type Collection struct + Name string + type Comment struct + Content string + func (c *Comment) BeforeCreate() (err error) + func (c Comment) Validate(db *gorm.DB) + type Link struct + ID uint + ImageUrl string + Name string + PostID uint + Title string + URL string + func (l *Link) BeforeCreate() (err error) + func (l Link) Validate(db *gorm.DB) + type Post struct + Category Category + CategoryID uint + Code string + Collections []Collection + Comments []Comment + Description string + Featured bool + Images media_library.MediaBox + Links []Link + MainImage media_library.MediaBox + Name string + NameWithSlug slug.Slug + PostProperties PostProperties + Seo qor_seo.Setting + Summary string + Tags []Tag + func (post Post) DefaultPath() string + func (post Post) GetID() uint + func (post Post) GetSEO() *qor_seo.SEO + func (post Post) MainImageURL(styles ...string) string + func (post Post) Validate(db *gorm.DB) + type PostImage struct + Category Category + CategoryID uint + File media_library.MediaLibraryStorage + SelectedType string + Title string + func (postImage *PostImage) GetMediaOption() (mediaOption media_library.MediaOption) + func (postImage *PostImage) GetSelectedType() string + func (postImage *PostImage) ScanMediaOptions(mediaOption media_library.MediaOption) error + func (postImage *PostImage) SetSelectedType(typ string) + func (postImage PostImage) Validate(db *gorm.DB) + type PostProperties []PostProperty + func (postProperties *PostProperties) Scan(value interface{}) error + func (postProperties PostProperties) Value() (driver.Value, error) + type PostProperty struct + Name string + Value string + type PostVariation struct + Featured bool + Images media_library.MediaBox + Post Post + PostID *uint + type Tag struct + Hashtag string + ID uint + Name string + NameWithSlug qor_slug.Slug + Seo qor_seo.Setting + func (t *Tag) BeforeCreate() (err error) + func (t *Tag) SetLanguageCode(code string) + func (t Tag) DefaultPath() string + func (t Tag) Validate(db *gorm.DB)