Azure-Samples / Azure-Samples/storage-blobs-go-quickstart
Several compile time errors found
- Dominant language
- Go
- Stars
- 31
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
> Please provide us with the following information:
> ---------------------------------------------------------------
### This issue is for a: (mark with an `x`)
```
- [ x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```
### Minimal steps to reproduce
>
go run storage-quickstart.go
### Any log messages given by the failure
>
\# command-line-arguments
./storage-quickstart.go:54:21: assignment mismatch: 1 variable but serviceClient.NewContainerClient returns 2 values
./storage-quickstart.go:71:22: blobClient.UploadBufferToBlockBlob undefined (type *azblob.BlockBlobClient has no field or method UploadBufferToBlockBlob)
./storage-quickstart.go:71:64: undefined: azblob.HighLevelUploadToBlockBlobOption
./storage-quickstart.go:101:21: cannot use azblob.RetryReaderOptions{} (value of type azblob.RetryReaderOptions) as type *azblob.RetryReaderOptions in argument to get.Body
### Expected/desired behavior
>
Output as detailed on the readme instructions
### OS and Version?
> Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Linux 5.15.0-41-lowlatency #44-Ubuntu SMP PREEMPT Wed Jun 22 15:40:35 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
### Versions
>
go version go1.18.1 linux/amd64
### Mention any other details that might be useful
> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.
Contributor guide
Assessment
This issue has not been assessed yet.