Skip to content

Commit c000e30

Browse files
committed
acrolinx
1 parent 35e6582 commit c000e30

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/app-service/quickstart-golang.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 'Quickstart: Create a GoLang web app'
3-
description: Deploy your first Go Hello World to Azure App Service in minutes. You deploy using Git, which is one of many ways to deploy to App Service.
3+
description: Deploy your first Go Hello World to Azure App Service in minutes.
44
ms.topic: quickstart
55
ms.date: 10/13/2022
66
ms.devlang: golang
@@ -25,11 +25,11 @@ To complete this quickstart, you need:
2525

2626
First, create a folder for your project.
2727

28-
Go to the terminal window, change into the folder you just created and run `go mod init <ModuleName>`. The ModuleName could just be the folder name at this point.
28+
Go to the terminal window, change into the folder you created and run `go mod init <ModuleName>`. The ModuleName could just be the folder name at this point.
2929

3030
The `go mod init` command creates a go.mod file to track your code's dependencies. So far, the file includes only the name of your module and the Go version your code supports. But as you add dependencies, the go.mod file will list the versions your code depends on.
3131

32-
Create a file called main.go. We will be doing most of our coding here.
32+
Create a file called main.go. We'll be doing most of our coding here.
3333

3434
```golang
3535
package main
@@ -46,9 +46,9 @@ func HelloServer(w http.ResponseWriter, r *http.Request) {
4646
}
4747
```
4848

49-
This program use the `net.http` package to handle all requests to the web root with the HelloServer function. The call to `http.ListenAndServe` tells the server to listen on the TCP network address :8080
49+
This program uses the `net.http` package to handle all requests to the web root with the HelloServer function. The call to `http.ListenAndServe` tells the server to listen on the TCP network address `:8080`.
5050

51-
If you want to do a sanity check, you can run this by opening up a terminal, navigating to your project’s directory and then calling `go run main.go`. Now open a browser window and type the URL `http://localhost:8080/world`. You should see the message `Hello, world!`.
51+
Using a terminal, go to your project’s directory and run `go run main.go`. Now open a browser window and type the URL `http://localhost:8080/world`. You should see the message `Hello, world!`.
5252

5353
## 2 - Create a web app in Azure
5454

@@ -58,7 +58,7 @@ Azure CLI commands can be run on a computer with the [Azure CLI installed](/cli/
5858

5959
Azure CLI has a command `az webapp up` that will create the necessary resources and deploy your application in a single step.
6060

61-
If necessary, login to Azure using [az login](/cli/azure/authenticate-azure-cli).
61+
If necessary, log in to Azure using [az login](/cli/azure/authenticate-azure-cli).
6262

6363
```azurecli
6464
az login

0 commit comments

Comments
 (0)