repo

package
v0.0.0-...-362cf43 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeyForAlbum

func KeyForAlbum(albumID string, artistID string, ns string) *datastore.Key

func KeyForArtist

func KeyForArtist(artistID string, ns string) *datastore.Key

Types

type AlbumLoader

type AlbumLoader interface {
	LoadAllAlbums(context.Context) ([]ent.Album, error)
	LoadAllAlbumsByArtist(context.Context, string) ([]ent.Album, error)
}

func NewAlbumLoader

func NewAlbumLoader(client *datastore.Client, ns string) AlbumLoader

type ArtistLoader

type ArtistLoader interface {
	LoadAllArtists(context.Context) ([]ent.Artist, error)
}

func NewArtistLoader

func NewArtistLoader(client *datastore.Client, ns string) ArtistLoader

Jump to

Keyboard shortcuts

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