roaster

package
v0.0.0-...-652937c Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Roaster

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

func New

func New(db *sqlx.DB) *Roaster

func (*Roaster) CreateRoaster

func (db *Roaster) CreateRoaster(ctx context.Context, sheet *sql.Roaster) error

func (*Roaster) DeleteRoasterById

func (db *Roaster) DeleteRoasterById(ctx context.Context, id int) error

func (*Roaster) GetAllRoasters

func (db *Roaster) GetAllRoasters(ctx context.Context) ([]sql.Roaster, error)

func (*Roaster) GetRoasterById

func (db *Roaster) GetRoasterById(ctx context.Context, id int) (*sql.Roaster, error)

func (*Roaster) GetRoasterByName

func (db *Roaster) GetRoasterByName(ctx context.Context, name string) (*sql.Roaster, error)

func (*Roaster) Ping

func (db *Roaster) Ping(ctx context.Context) error

func (*Roaster) UpdateRoasterById

func (db *Roaster) UpdateRoasterById(ctx context.Context, id int, roaster *sql.Roaster) (*sql.Roaster, error)

Jump to

Keyboard shortcuts

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