Documentation ¶
Index ¶
- Variables
- func CreateOneOrder(ctx context.Context, order *Order) error
- func FindAllDetailsByCatalogId(ctx context.Context, order_type string) (*[]Order_Detail, error)
- func GetEnv(key string) string
- func NewClient(ctx context.Context) (*pgxpool.Pool, error)
- func UpdateOneOrder(ctx context.Context, order *Order) error
- type Order
- type Order_Detail
Constants ¶
This section is empty.
Variables ¶
View Source
var Postgres_Client *pgxpool.Pool
Functions ¶
func FindAllDetailsByCatalogId ¶
func FindAllDetailsByCatalogId(ctx context.Context, order_type string) (*[]Order_Detail, error)
Types ¶
type Order_Detail ¶
Click to show internal directories.
Click to hide internal directories.