model

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MusicOrientation

type MusicOrientation struct {
	Genres           utils.Info[[]string]
	Danceability     utils.Info[float64]
	Valence          utils.Info[float64]
	Popularity       utils.Info[int]
	Acousticness     utils.Info[float64]
	Energy           utils.Info[float64]
	Instrumentalness utils.Info[float64]
	Liveness         utils.Info[float64]
	Speechiness      utils.Info[float64]
}

func (*MusicOrientation) HasAllSet

func (m *MusicOrientation) HasAllSet() bool

func (*MusicOrientation) HasOneChanged

func (m *MusicOrientation) HasOneChanged() bool

func (*MusicOrientation) String

func (m *MusicOrientation) String() string

type OrientationElement

type OrientationElement int
const (
	GenresElement OrientationElement = iota
	DanceabilityElement
	ValenceElement
	PopularityElement
	AcousticnessElement
	EnergyElement
	InstrumentalnessElement
	LivenessElement
	SpeechinessElement
)

type User

type User struct {
	MusicOrientation *MusicOrientation
	// contains filtered or unexported fields
}

func NewUser

func NewUser(name string) *User

Jump to

Keyboard shortcuts

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