usecase

package
v0.0.0-...-95d5ba4 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPlaylistService

type IPlaylistService interface {
	Save(context.Context, *playlist.Playlist) (*playlist.Playlist, error)
}

type ITrackService

type ITrackService interface {
	Save(context.Context, *track.Track) (*track.Track, error)
}

type PlaylistUC

type PlaylistUC struct {
	// contains filtered or unexported fields
}

func NewPlaylistUC

func NewPlaylistUC(trackService ITrackService,
	playlistService IPlaylistService) *PlaylistUC

func (*PlaylistUC) Create

func (u *PlaylistUC) Create(user user.User, urls []string, logger *logger.Log) (*playlist.Playlist, error)

Jump to

Keyboard shortcuts

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