Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractPublicID ¶
ExtractPublicID extracts the public ID from a Cloudinary URL Example: https://res.cloudinary.com/demo/image/upload/v1234567890/products/sample.jpg Returns: products/sample
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps the Cloudinary client
func NewClient ¶
NewClient creates a new Cloudinary client The CLOUDINARY_URL environment variable should be set in the format: cloudinary://API_KEY:API_SECRET@CLOUD_NAME
func (*Client) DeleteImage ¶
DeleteImage deletes an image from Cloudinary by public ID
Click to show internal directories.
Click to hide internal directories.