Documentation ¶
Index ¶
- type CreateSheepParams
- type DBTX
- type ListSheepsParams
- type NullWool
- type Queries
- func (q *Queries) CreateSheep(ctx context.Context, arg CreateSheepParams) (Sheep, error)
- func (q *Queries) DeleteSheep(ctx context.Context, id int64) error
- func (q *Queries) GetSheep(ctx context.Context, id int64) (Sheep, error)
- func (q *Queries) ListSheeps(ctx context.Context, arg ListSheepsParams) ([]Sheep, error)
- func (q *Queries) UpdateSheep(ctx context.Context, arg UpdateSheepParams) (Sheep, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Sheep
- type UpdateSheepParams
- type Wool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateSheepParams ¶
type ListSheepsParams ¶
type NullWool ¶
type NullWool struct { Wool Wool `json:"wool"` Valid bool `json:"valid"` // Valid is true if Wool is not NULL }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateSheep ¶
func (*Queries) ListSheeps ¶
func (*Queries) UpdateSheep ¶
type UpdateSheepParams ¶
Click to show internal directories.
Click to hide internal directories.