Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBQuerier ¶
type DBQuerier struct {
// contains filtered or unexported fields
}
func NewQuerier ¶
func NewQuerier(conn genericConn) *DBQuerier
NewQuerier creates a DBQuerier that implements Querier.
func (*DBQuerier) ArrayNested2 ¶
func (q *DBQuerier) ArrayNested2(ctx context.Context) ([]ProductImageType, error)
ArrayNested2 implements Querier.ArrayNested2.
type Dimensions ¶
Dimensions represents the Postgres composite type "dimensions".
type ProductImageSetType ¶
type ProductImageSetType struct { Name string `json:"name"` OrigImage ProductImageType `json:"orig_image"` Images []ProductImageType `json:"images"` }
ProductImageSetType represents the Postgres composite type "product_image_set_type".
type ProductImageType ¶
type ProductImageType struct { Source string `json:"source"` Dimensions Dimensions `json:"dimensions"` }
ProductImageType represents the Postgres composite type "product_image_type".
type Querier ¶
type Querier interface { ArrayNested2(ctx context.Context) ([]ProductImageType, error) Nested3(ctx context.Context) ([]ProductImageSetType, error) }
Querier is a typesafe Go interface backed by SQL queries.
Click to show internal directories.
Click to hide internal directories.