Documentation ¶
Index ¶
- type Roaster
- func (db *Roaster) CreateRoaster(ctx context.Context, sheet *sql.Roaster) error
- func (db *Roaster) DeleteRoasterById(ctx context.Context, id int) error
- func (db *Roaster) GetAllRoasters(ctx context.Context) ([]sql.Roaster, error)
- func (db *Roaster) GetRoasterById(ctx context.Context, id int) (*sql.Roaster, error)
- func (db *Roaster) GetRoasterByName(ctx context.Context, name string) (*sql.Roaster, error)
- func (db *Roaster) Ping(ctx context.Context) error
- func (db *Roaster) UpdateRoasterById(ctx context.Context, id int, roaster *sql.Roaster) (*sql.Roaster, error)
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 (*Roaster) CreateRoaster ¶
func (*Roaster) DeleteRoasterById ¶
func (*Roaster) GetAllRoasters ¶
func (*Roaster) GetRoasterById ¶
func (*Roaster) GetRoasterByName ¶
Click to show internal directories.
Click to hide internal directories.