jam

package
v0.0.0-...-0cdd26c Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJamRepo

func NewJamRepo(db *sqlx.DB) jam.JamRepo

Types

type JamRepo

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

func (*JamRepo) CreateJam

func (r *JamRepo) CreateJam(ctx context.Context, j *jam.JamParams) error

func (*JamRepo) DeleteJam

func (r *JamRepo) DeleteJam(ctx context.Context, id uuid.UUID) error

func (*JamRepo) GetJam

func (r *JamRepo) GetJam(ctx context.Context, id uuid.UUID) (*jam.Jam, error)

func (*JamRepo) UpdateJam

func (r *JamRepo) UpdateJam(ctx context.Context, id uuid.UUID, j *jam.JamParams) error

Jump to

Keyboard shortcuts

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