Documentation ¶
Index ¶
- func ChargeCustomerForPO(pid int) error
- func CreateBook(title, author string, price float32) (int, error)
- func CreateCustomer(name, shippingAddr string) (int, error)
- func CreatePO(book, customer int) (int, error)
- func CustomerBalance(cid int) (float32, error)
- func GetBookId(title, author string) (int, error)
- func GetBookPrice(bid int) (float32, error)
- func GetCustomerAddress(cid int) (string, error)
- func GetCustomerId(name, shippingAddr string) (int, error)
- func GetPOByContents(book, customer int) (int, error)
- func IsPOShipped(pid int) (bool, error)
- func ShipPO(pid int) error
- func UpdateCustomerAddress(cid int, newAddr string) error
- type Database
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChargeCustomerForPO ¶
func CreateCustomer ¶
func CustomerBalance ¶
func GetBookPrice ¶
func GetCustomerAddress ¶
func GetCustomerId ¶
func GetPOByContents ¶
func IsPOShipped ¶
func UpdateCustomerAddress ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.