content

package
v0.0.0-...-e2fb21b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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) GormDBDataType(db *gorm.DB, field *schema.Field) string

func (Contents) GormDataType

func (Contents) GormDataType() string

func (Contents) GormValue

func (js Contents) GormValue(ctx context.Context, db *gorm.DB) (expr clause.Expr)

func (*Contents) Scan

func (c *Contents) Scan(value interface{}) (err error)

func (Contents) Value

func (c Contents) Value() (value driver.Value, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL