signup

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: May 18, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStore

func NewStore(db *sqlx.DB) clapper.SignupRepo

NewStore creates our data store

Types

type Store

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

Store encapsulates our dependency

func (*Store) Delete

func (m *Store) Delete(ctx context.Context, signupID int) error

Delete will remove the signup sheet, and it's children crew (The database should cascade to delete children)

func (*Store) New

func (m *Store) New(ctx context.Context, eventID int, s clapper.NewSignup) (int, error)

New creates a new signup sheet

func (*Store) Update

func (m *Store) Update(ctx context.Context, s clapper.Signup) error

Update will update an existing signup sheet

Jump to

Keyboard shortcuts

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