Skip to content

Commit 3b8feb2

Browse files
committed
linter, acrolinx
1 parent b2936ce commit 3b8feb2

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

articles/redis/go-get-started.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ zone_pivot_groups: redis-type
1616

1717
# Quickstart: Use Azure Redis with Go
1818

19-
In this article, you learn how to use a Azure Redis cache with the Go language and connect using Microsoft Entra ID.
19+
In this article, you learn how to use an Azure Redis cache with the Go language and connect using Microsoft Entra ID.
2020

2121
## Prerequisites
2222

2323
- Azure subscription - [create one for free](https://azure.microsoft.com/free/)
24-
- [Go](https://go.dev/doc/install)
24+
- [Go](https://go.dev/doc/install)
2525
- You must also add two imports from Redis to your project and add them to your development environment.
2626
- `entraid "github.com/redis/go-redis-entraid"`
2727
- `"github.com/redis/go-redis/v9"`
@@ -30,16 +30,16 @@ In this article, you learn how to use a Azure Redis cache with the Go language a
3030

3131
First you must create a cache. You can create a cache using Azure Managed Redis or Azure Cache for Redis using the Azure portal. In this Quickstart, we use Azure Managed Redis.
3232

33-
When you create the cache you should create it Microsoft Entra ID is enabled by default. Your cache must also use public endpoint for this QuickStart.
33+
When you create the cache, you should create it Microsoft Entra ID is enabled by default. Your cache must also use public endpoint for this QuickStart.
3434

35-
To create a chace with the portal, follow one of these procedure
35+
To create a cache with the portal, follow one of these procedures:
3636

3737
- [Azure Managed Redis](includes/managed-redis-create.md)
3838
- [Azure Cache for Redis](/azure/azure-cache-for-redis/quickstart-create-redis)
3939

4040
Optionally, you can create a cache using Azure CLI, PowerShell, or any means that you prefer.
4141

42-
## Code to connect to a AMR Cache
42+
## Code to connect to a Redis cache
4343

4444
The first part of the code sample, you set your connection to your cache:
4545

@@ -95,7 +95,7 @@ In the next section, we test the connection using the Redis command "ping" that
9595
9696
## Code set a key, get a key
9797
98-
In this section, we show a basic `set` and `get` sequence to demonstrte using the Redis cache.
98+
In this section, we show a basic `set` and `get` sequence to demonstrate using the Redis cache.
9999
100100
```go
101101
// Do something with Redis and a key-value pair
@@ -120,7 +120,7 @@ In this section, we show a basic `set` and `get` sequence to demonstrte using th
120120

121121
```
122122

123-
Before you can run this code, you must add yourself as a Redis user. And you must also authorize your connection to Azure from the command line using the Azure command line or Azure developer command line (azd).
123+
Before you can run this code, you must add yourself as a Redis user. And you must also authorize your connection to Azure from the command line using the Azure command line or Azure developer command line (azd).
124124

125125
You should also [add any user](entra-for-authentication.md) [Add users or System principal to your cache](entra-for-authentication.md#add-users-or-system-principal-to-your-cache) who might run the program as a user on the Redis cache.
126126

@@ -131,6 +131,7 @@ Ping returned: PONG
131131
SET Message succeeded: OK
132132
GET Message returned: Hello, The cache is working with Go!
133133
```
134+
134135
You can see this code sample in its entirety.
135136

136137
```go
@@ -204,4 +205,4 @@ func main() {
204205
## Related content
205206
206207
- [Redis Extension for connecting using Microsoft Entra ID](https://github.com/redis/go-redis-entraid)
207-
- [go-Redis guide](https://redis.io/docs/latest/develop/clients/go/)
208+
- [go-Redis guide](https://redis.io/docs/latest/develop/clients/go/)

0 commit comments

Comments
 (0)