repository

package
v0.0.0-...-f406ea1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manga

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

Manga implements MangaRepo.

func MangaFactory

func MangaFactory(db *pgxpool.Pool) *Manga

MangaFactory creates new MangaRepositories.

func (*Manga) FindAll

func (r *Manga) FindAll() ([]*model.Manga, error)

FindAll returns all manga in the manga table, sorted alphabetically

type MangaRepo

type MangaRepo interface {
	FindAll() ([]Manga, error)
}

MangaRepo is an interface for interacting with the DB to handle manga data.

Jump to

Keyboard shortcuts

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