update

package
v0.0.0-...-6e8f4b0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Items

func Items[I item.Itemizer](directory, saveType, itemType string, user auth.User) error

func Shuffle

func Shuffle[I item.Itemizer](pages []item.Page[I], limit int)

Shuffle will redistribute the items across all the given pages. It assumes that the pages are given in chronological order, with the oldest pages first. Each page should have at most 30 items, and pages at the beginning of the list are allowed to take items from pages toward the end of the list.

func ShuffleDir

func ShuffleDir[I item.Itemizer](directory string, limit int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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