Documentation
¶
Index ¶
- type Content
- type Contents
- func (Contents) GormDBDataType(db *gorm.DB, field *schema.Field) string
- func (Contents) GormDataType() string
- func (js Contents) GormValue(ctx context.Context, db *gorm.DB) (expr clause.Expr)
- func (c *Contents) Scan(value interface{}) (err error)
- func (c Contents) Value() (value driver.Value, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Content ¶
type Content struct { Type contenttype.ContentType `yaml:"type" json:"type"` Name string `yaml:"name" json:"name"` Data string `yaml:"-" json:"data,omitempty"` }
type Contents ¶
type Contents []Content
func (Contents) GormDBDataType ¶
func (Contents) GormDataType ¶
Click to show internal directories.
Click to hide internal directories.