You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/blobs/storage-quickstart-blobs-go.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,12 +32,12 @@ This section walks you through preparing a project to work with the Azure Blob S
32
32
33
33
- To work with blob and container resources in a storage account, install the [azblob](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/) package using the following command:
34
34
35
-
```
35
+
```console
36
36
go get github.com/Azure/azure-sdk-for-go/sdk/storage/azblob
37
37
```
38
38
- To authenticate with Azure Active Directory (recommended), install the [azidentity](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity) module using the following command:
39
39
40
-
```
40
+
```console
41
41
go get github.com/Azure/azure-sdk-for-go/sdk/azidentity
42
42
```
43
43
@@ -47,7 +47,7 @@ The [sample application](https://github.com/Azure-Samples/storage-blobs-go-quick
47
47
48
48
Use [git](https://git-scm.com/) to download a copy of the application to your development environment.
@@ -79,7 +79,7 @@ You can authorize access to data in your storage account using the following ste
79
79
80
80
2. To use `DefaultAzureCredential` in a Go application, install the [azidentity](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity) module using the following command::
81
81
82
-
```
82
+
```console
83
83
go get github.com/Azure/azure-sdk-for-go/sdk/azidentity
84
84
```
85
85
@@ -101,13 +101,13 @@ Before you run the sample, open the *storage-quickstart.go* file. Replace `<stor
101
101
102
102
Then run the application using the following command:
103
103
104
-
```
104
+
```console
105
105
go run storage-quickstart.go
106
106
```
107
107
108
108
The output of the app is similar to the following example:
109
109
110
-
```
110
+
```console
111
111
Azure Blob storage quick start sample
112
112
Creating a container named quickstart-sample-container
0 commit comments