image

package
v0.27.12 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2022 License: AGPL-3.0, AGPL-3.0-only Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DAOToModel

func DAOToModel(tl *dao.TimeLine) (model.TimeLineImages, error)

func ModelToDAO

func ModelToDAO(tl *model.TimeLine) ([]byte, error)

Types

type Image

type Image struct {
	Cat       *int64  `php:"cat,omitempty"`
	GroupID   *string `php:"grp_id,omitempty"`
	GroupName *string `php:"grp_name,omitempty"`
	Name      *string `php:"name,omitempty"`
	Title     *string `php:"title,omitempty"`
	ID        *int    `php:"id,omitempty"`
	UserID    *string `php:"uid,omitempty"`
	SubjectID *string `php:"subject_id,omitempty"`
	Images    *string `php:"images,omitempty"`
}

func (*Image) FromModel

func (i *Image) FromModel(image *model.TimeLineImage)

func (*Image) ToModel

func (i *Image) ToModel() *model.TimeLineImage

func (*Image) UnmarshalPHP

func (i *Image) UnmarshalPHP(b []byte) error

type Images

type Images []Image

func (Images) ToModel

func (is Images) ToModel() model.TimeLineImages

Jump to

Keyboard shortcuts

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