Versions in this module Expand all Collapse all v1 v1.0.0 Aug 8, 2023 Changes in this version + func DeleteFileFromStorage(objectKey string) bool + func UploadFileToStorage(user string, tag string, parent string, fullFilePath string, fileBytes []byte) (string, string) + type Payment struct + CreatedTime string + Currency string + Detail string + DisplayName string + InvoiceRemark string + InvoiceTaxId string + InvoiceTitle string + InvoiceType string + InvoiceUrl string + Message string + Name string + Organization string + Owner string + PayUrl string + PersonEmail string + PersonIdCard string + PersonName string + PersonPhone string + Price float64 + ProductDisplayName string + ProductName string + Provider string + ReturnUrl string + State string + Tag string + Type string + User string + func GetGlobalPayments() ([]*Payment, error) + func GetPayments(user string) ([]*Payment, error) + type Product struct + CreatedTime string + Currency string + Detail string + DisplayName string + Image string + Name string + Owner string + Price float64 + Providers []string + Quantity int + ReturnUrl string + Sold int + State string + Tag string + func GetProducts() ([]*Product, error)