util

package
v1.35.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoParentMediaFound = errors.New("No Parent Media Found")

Functions

func GetMedias

func GetMedias(db *datastore.Datastore, h HasMedias) ([]*media.Media, error)

func GetParentMedia

func GetParentMedia(db *datastore.Datastore, h BelongsToParentMedia) (*media.Media, error)

Types

type BelongsToParentMedia

type BelongsToParentMedia interface {
	GetParentMediaId() string
}

type HasMedias

type HasMedias interface {
	GetMediaSearchFieldAndIds() (string, []string)
}

Jump to

Keyboard shortcuts

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