repository

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LikeSelect

type LikeSelect struct {
	Username string `json:"username"`
}

type Repository

type Repository struct {
	Conn *sql.DB
}

func (*Repository) GetTracks

func (repo *Repository) GetTracks(track string, artist string) ([]LikeSelect, *string, error)

func (*Repository) SetLike

func (repo *Repository) SetLike(name, artist, username string) error

type TrackSelect

type TrackSelect struct {
	Name     string `json:"name"`
	Artist   string `json:"artist"`
	Username string `json:"username"`
}

Jump to

Keyboard shortcuts

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