constants

package
v0.0.0-...-ee9263c Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoImageFound = errors.New("no image found")
View Source
var ErrSpotifyClientNotInitialized = errors.New("spotify client not initialized")
View Source
var ErrTooManyImages = errors.New("too many images requested")
View Source
var ErrUserNotFound = errors.New("user not found")

Functions

This section is empty.

Types

type CollageType

type CollageType string
const (
	ALBUM  CollageType = "album"
	ARTIST CollageType = "artist"
	TRACK  CollageType = "track"
)

func GetCollageTypeFromStr

func GetCollageTypeFromStr(s string) CollageType

type Period

type Period string
const (
	OVERALL       Period = "overall"
	SEVEN_DAYS    Period = "7day"
	ONE_MONTH     Period = "1month"
	THREE_MONTHS  Period = "3month"
	SIX_MONTHS    Period = "6month"
	TWELVE_MONTHS Period = "12month"
)

func GetPeriodFromStr

func GetPeriodFromStr(s string) Period

type TextLocation

type TextLocation string
const (
	TOP_LEFT      TextLocation = "topleft"
	TOP_CENTRE    TextLocation = "topcentre"
	TOP_RIGHT     TextLocation = "topright"
	BOTTOM_LEFT   TextLocation = "bottomleft"
	BOTTOM_CENTRE TextLocation = "bottomcentre"
	BOTTOM_RIGHT  TextLocation = "bottomright"
)

func GetTextLocationFromStr

func GetTextLocationFromStr(s string) TextLocation

func (TextLocation) IsTop

func (tl TextLocation) IsTop() bool

Jump to

Keyboard shortcuts

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