Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentType ¶
type ContentType struct { Form []*form.Field `bson:"form,omitempty" json:"content_form,omitempty"` Type string `bson:"type,omitempty" json:"type,omitempty"` MongoId bson.ObjectId `bson:"_id,omitempty" json:"id,omitempty"` }
func AllContentTypes ¶
func AllContentTypes(w *wrapper.Wrapper) ([]ContentType, error)
func LoadContentType ¶
func LoadContentType(i string, w *wrapper.Wrapper) (ContentType, error)
func LoadContentTypeT ¶
func LoadContentTypeT(t string, w *wrapper.Wrapper) (ContentType, error)
func NewContentType ¶
func NewContentType() ContentType
Click to show internal directories.
Click to hide internal directories.