models

package
v0.0.0-...-094ba9a Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Song

type Song struct {
	Album       string             `json:"album,omitempty" bson:"album,omitempty"`
	AlbumArtist string             `json:"albumartist,omitempty" bson:"albumartist,omitempty"`
	Artist      string             `json:"artist,omitempty" bson:"artist,omitempty"`
	Comment     string             `json:"comment,omitempty" bson:"comment,omitempty"`
	Composer    string             `json:"composer,omitempty" bson:"composer,omitempty"`
	FileType    tag.FileType       `json:"filetype,omitempty" bson:"filetype,omitempty"`
	Format      tag.Format         `json:"format,omitempty" bson:"format,omitempty"`
	Genre       string             `json:"genre,omitempty" bson:"genre,omitempty"`
	Id          primitive.ObjectID `json:"id" bson:"_id" binding:"required"`
	Lyrics      string             `json:"lyrics,omitempty" bson:"lyrics,omitempty"`
	RawSong     []byte             `json:"rawsong" bson:"rawsong" binding:"required"`
	Title       string             `json:"title,omitempty" bson:"title,omitempty"`
	Year        int                `json:"year,omitempty" bson:"year,omitempty"`
}

Jump to

Keyboard shortcuts

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