Documentation ¶ Index ¶ func DownloadImageData(url string) (string, []byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DownloadImageData ¶ func DownloadImageData(url string) (string, []byte, error) downloadImageData downloads the content from the given URL and returns the image type and data. The image type is the second part of the response's MIME (e.g. "png" from "image/png"). Types ¶ This section is empty. Source Files ¶ View all Source files download.go Click to show internal directories. Click to hide internal directories.