Documentation ¶
Index ¶
- type Shot
- func (db *Shot) CreateShot(ctx context.Context, shot *sql.Shot) (int, error)
- func (db *Shot) DeleteShotById(ctx context.Context, id int) error
- func (db *Shot) GetAllShots(ctx context.Context) ([]sql.Shot, error)
- func (db *Shot) GetShotById(ctx context.Context, id int) (*sql.Shot, error)
- func (db *Shot) Ping(ctx context.Context) error
- func (db *Shot) UpdateShotById(ctx context.Context, id int, shot *sql.Shot) (*sql.Shot, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Shot ¶
type Shot struct {
// contains filtered or unexported fields
}
func (*Shot) CreateShot ¶
func (*Shot) GetShotById ¶
Click to show internal directories.
Click to hide internal directories.