Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var App core.App
Functions ¶
Types ¶
type Contentcomment ¶
type Contentcomments ¶
type Contentcomments []Contentcomment
type Contentelement ¶
type Contentelement struct { gorm.Model Urld string `json:"urld" valid:"ascii,required"` UserID int `json:"userID"` Parent int `json:"parent"` Title string `json:"title" valid:"required"` Description string `json:"description" gorm:"type:varchar(500)"` Content string `json:"content" gorm:"type:text"` Meta_title string `json:"meta_title"` Meta_descr string `json:"meta_descr" gorm:"type:text"` Kind string `json:"kind"` Status string `json:"status" valid:"required,in(active|suspend|draft)"` Tags string `json:"tags"` Elements []Contentelement `json:"elements" gorm:"auto_preload;foreignkey:Parent"` Comments []Contentcomment `json:"comments"` }
type Contentelements ¶
type Contentelements []Contentelement
type Contenttag ¶
type Contenttags ¶
type Contenttags []Contenttag
Click to show internal directories.
Click to hide internal directories.