model

package
v0.0.0-...-48c972a Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2020 License: MIT Imports: 1 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 {
	gorm.Model
	Title      string `json:"title" gorm:"not null"`
	Lyrics     string `json:"lyrics" gorm:"not null"`
	Author     string `json:"author" gorm:"not null"`
	AlbumImage string `json:"image" gorm:"not null"`
	SongNumber int    `json:"song_number" gorm:"not null"`
	SongLink   string `json:"song_link" gorm:"not null"`
	Rating     int    `json:"rating" gorm:"not null"`
}

Song - is a song

Jump to

Keyboard shortcuts

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