func ExtractImageFromTarGzMaybeFromGoogleStorage(tarGz, imageFilename string, client *storage.Client) (image.Image, error) {
	imgMap := make(map[string]struct{})
	imgMap[imageFilename] = struct{}{}

	imgs, err := ExtractImagesFromTarGzMaybeFromGoogleStorage(tarGz, imgMap, client)
	if err != nil {
		return nil, err
	}

	return imgs[imageFilename], nil
}
// ExtractImageFromTarGzMaybeFromGoogleStorage is now a thin wrapper over
// ExtractImagesFromTarGzMaybeFromGoogleStorage.
ExtractImageFromTarGzMaybeFromGoogleStorage is now a thin wrapper over
ExtractImagesFromTarGzMaybeFromGoogleStorage.
// ExtractImageFromTarGzMaybeFromGoogleStorage is now a thin wrapper over // ExtractImagesFromTarGzMaybeFromGoogleStorage .
func ExtractImageFromTarGzMaybeFromGoogleStorage(tarGz, imageFilename string, client *storage.Client) (image.Image, error) {
	imgMap := make(map[string]struct{})
	imgMap[imageFilename] = struct{}{}
	imgs, err := ExtractImagesFromTarGzMaybeFromGoogleStorage(tarGz, imgMap, client)
	if err != nil {
		return nil, err
	}
	return imgs[imageFilename], nil
}
func ExtractImageFromTarGzMaybeFromGoogleStorage ( tarGz , imageFilename string , client * storage . Client ) ( image . Image , error ) { imgMap := make ( map [ string ] struct { } ) imgMap [ imageFilename ] = struct { } { } imgs , err := ExtractImagesFromTarGzMaybeFromGoogleStorage ( tarGz , imgMap , client ) if err != nil { return nil , err } return imgs [ imageFilename ] , nil }
ExtractImageFromTarGzMaybeFromGoogleStorage is now a thin wrapper over
ExtractImagesFromTarGzMaybeFromGoogleStorage.
ExtractImageFromTarGzMaybeFromGoogleStorage is now a thin wrapper over ExtractImagesFromTarGzMaybeFromGoogleStorage .