model

package
v0.0.0-...-808094b Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateGenreInput

type CreateGenreInput struct {
	Name string `json:"name"`
}

type CreateSongInput

type CreateSongInput struct {
	Title   string    `json:"title"`
	Artist  string    `json:"artist"`
	GenreID uuid.UUID `json:"genreId"`
}

type CreateUserInput

type CreateUserInput struct {
	Email          string   `json:"email"`
	UserName       string   `json:"userName"`
	FavoriteGenres []string `json:"favoriteGenres"`
}

type GenreListDto

type GenreListDto struct {
	ID   uuid.UUID `json:"id"`
	Name string    `json:"name"`
}

type Mutation

type Mutation struct {
}

type Query

type Query struct {
}

type SongListDto

type SongListDto struct {
	ID     uuid.UUID `json:"id"`
	Title  string    `json:"title"`
	Artist string    `json:"artist"`
}

type UserListDto

type UserListDto struct {
	ID       uuid.UUID `json:"id"`
	UserName string    `json:"userName"`
	Email    string    `json:"email"`
}

Jump to

Keyboard shortcuts

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