repositories

package
v0.0.0-...-e3ece06 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GuitarRepo

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

func NewGuitarRepo

func NewGuitarRepo(db *bun.DB, ctx context.Context) *GuitarRepo

func (*GuitarRepo) FindAll

func (r *GuitarRepo) FindAll() (*[]models.Guitar, error)

func (*GuitarRepo) Save

func (r *GuitarRepo) Save(guitar *models.Guitar) error

Jump to

Keyboard shortcuts

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