Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateProductParams ¶
type Product ¶
type Product struct { ID uuid.UUID `json:"id"` Name string `json:"name"` Description pgtype.Text `json:"description"` Category pgtype.Text `json:"category"` Price int64 `json:"price"` Status pgtype.Text `json:"status"` Tags []string `json:"tags"` CreatedAt pgtype.Timestamptz `json:"created_at"` UpdatedAt pgtype.Timestamptz `json:"updated_at"` DeletedAt pgtype.Timestamptz `json:"deleted_at"` }
type ProductStock ¶
type Querier ¶
type Querier interface {
CreateProduct(ctx context.Context, arg CreateProductParams) (Product, error)
}
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateProduct ¶
Click to show internal directories.
Click to hide internal directories.