Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FeedsArray ¶
type FeedsArray []Feed
func (FeedsArray) Len ¶
func (feeds FeedsArray) Len() int
func (FeedsArray) Less ¶
func (feeds FeedsArray) Less(i, j int) bool
func (FeedsArray) Swap ¶
func (feeds FeedsArray) Swap(i, j int)
type Media ¶
type Media struct { // Database related fields ID uint `gorm:"primarykey" json:"-"` CreatedAt time.Time `gorm:"index" json:"-"` // Structure related CrossbellCharacterID string `gorm:"index" json:"crossbell_character_id"` RelatedFeeds MediaFeedRecordArray `gorm:"type:text" json:"related_feeds"` commonTypes.Media }
type MediaFeedRecord ¶
type MediaFeedRecordArray ¶
type MediaFeedRecordArray []MediaFeedRecord
func (*MediaFeedRecordArray) Scan ¶
func (fa *MediaFeedRecordArray) Scan(src interface{}) error
Click to show internal directories.
Click to hide internal directories.