<prompt> Tengeneza kitendakazi cha Golang kisicho na seva ambacho huchakata picha zilizopakiwa kwenye Hifadhi ya Azure Blob kwa kuzibadilisha hadi vipimo maalum na kuhifadhi picha zilizobadilishwa ukubwa kurudi kwenye akaunti ya hifadhi.PLINFORMAT  <response>: kifurushi kikuukuagiza baitimuktadhafmtpicha_ pichajpeg_ pichapngioioutilnethttpneturlosnjianjia ya failikambagithub.comAzureazure-storage-blob-goazblobgithub.comnfntresizefunc main ImageResizeFunction ndio mahali pa kuingilia kwa Kazi yetu ya Azure.func ImageResizeFunctionctx context.Context, req http.Request interface, hitilafu blobURL : req.URL.Query.Patabloburlikiwa blobURL return nil, fmt.Errorfkigezo cha swala cha bloburl kinachokosekanaresizedWidth : 100 Weka upana wako unaotaka haparesizedHeight : 100 Weka urefu unaotaka hapa Pakua picha kutoka kwa Hifadhi ya BlobimageBytes, kosa : downloadImageblobURLikiwa makosa ! nil kurudi nil, makosa Badilisha ukubwa wa picharesizedImageBytes, err : resizeImageimageBytes, resizedWidth, resizedHeightikiwa makosa ! nil kurudi nil, makosa Pakia picha iliyobadilishwa ukubwa kurudi kwenye Hifadhi ya Bloberr uploadResizedImageresizedImageBytes, blobURLikiwa makosa ! nil kurudi nil, makosarudisha Picha imebadilishwa ukubwa na kupakiwa kwa mafanikio, nilfunc downloadImagekamba ya blobURL baiti, hitilafu url, _ : url.ChanganuablobURLblobURLParts : azblob.NewBlobURLPartsurlblockBlobURL : azblob.NewBlockBlobURLurl, getPipelineresp, err : blockBlobURL.Pakuacontext.Background, 0, azblob.CountToEnd, azblob.BlobAccessConditions, sivyoikiwa makosa ! nil kurudi nil, makosadefer resp.Bodyazblob.RetryReaderOptions.Fungamwili, kosa : ioutil.ReadAllresp.Bodyazblob.RetryReaderOptionsikiwa makosa ! nil kurudi nil, makosakurudi mwili, nilfunc resizeImageimageBytes baiti, upana int, urefu int baiti, makosa img, _, kosa : image.Decodebytes.NewReaderimageBytesikiwa makosa ! nil kurudi nil, makosaresizedImg : resize.Resizeuintupana, uinturefu, img, resize.Lanczos3buf : newbytes.Buffererr jpeg.Encodebuf, resizedImg, nilikiwa makosa ! nil kurudi nil, makosareturn buf.Bytes, hakunafunc uploadResizedImageresizedImageBytes baiti, mfuatano wa awaliBlobURL hitilafu url, _ : url.ParseoriginalBlobURLblobURLParts : azblob.NewBlobURLPartsurlcontainerURL : azblob.NewContainerURLblobURLParts.ContainerURL, getPipelinenewBlobName : fmt.Sprintfs_resized_dxd.jpg, strings.TrimSuffixblobURLParts.BlobName, filepath.ExtblobURLParts.BlobName, resizedWidth, resizedHeightblockBlobURL : containerURL.NewBlockBlobURLnewBlobName_, kosa : blockBlobURL.Pakiacontext.Background, bytes.NewReaderresizedImageBytes, azblob.BlobHTTPHeadersContentType: imagejpeg, azblob.Metadata, azblob.BlobAccessConditionskurudi makosafunc getPipeline azblob.Pipeline accountName, accountKey : os.GetenvAZURE_STORAGE_ACCOUNT, os.GetenvAZURE_STORAGE_ACCESS_KEYhati tambulishi, _ : azblob.NewSharedKeyCredentialaccountName, accountKeyrudisha azblob.NewPipelinehati, azblob.PipelineOptions 