media

package
v0.0.0-...-83255bf Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: EUPL-1.2 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateMedia

func GenerateMedia(item *data.Item, models *data.Models) (data.ItemMedia, error)

func RetrieveMedia

func RetrieveMedia(item *data.Item, models *data.Models) (data.ItemMedia, error)

Types

type Article

type Article struct {
	Metadata data.ItemMetadata `json:"-"`
	Model    data.ArticleModel `json:"-"`
	data.Article
}

func (*Article) Delete

func (a *Article) Delete(itemID data.ItemID) error

func (*Article) Generate

func (a *Article) Generate(URL string) error

func (*Article) Get

func (a *Article) Get(itemID data.ItemID) error

func (*Article) Insert

func (a *Article) Insert(itemID data.ItemID) error

Jump to

Keyboard shortcuts

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