Documentation ¶
Index ¶
Constants ¶
View Source
const (
GetProductList = `select product_id, name, price, currency, description, image_url, createtimestamp, updatetimestamp
from products`
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connection ¶
type ProductsSQL ¶
func NewCProductsPSQL ¶
func NewCProductsPSQL(dbConn *sql.DB) *ProductsSQL
func (*ProductsSQL) GetProductList ¶
func (p *ProductsSQL) GetProductList(ctx context.Context) (schema.ProductResponse, error)
Click to show internal directories.
Click to hide internal directories.