Skip to content

Commit

Permalink
docs(init): typo fix in Go README.md (#971)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyx authored and jfuss committed Feb 7, 2019
1 parent 9175ef7 commit 4b1bf6e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ go get -u github.com/aws/aws-lambda-go/...

### Building

Golang is a staticly compiled language, meaning that in order to run it you have to build the executeable target.
Golang is a statically compiled language, meaning that in order to run it you have to build the executable target.

You can issue the following command in a shell to build it:

```shell
GOOS=linux GOARCH=amd64 go build -o hello-world/hello-world ./hello-world
```

**NOTE**: If you're not building the function on a Linux machine, you will need to specify the `GOOS` and `GOARCH` environment variables, this allows Golang to build your function for another system architecture and ensure compatability.
**NOTE**: If you're not building the function on a Linux machine, you will need to specify the `GOOS` and `GOARCH` environment variables, this allows Golang to build your function for another system architecture and ensure compatibility.

### Local development

Expand Down

0 comments on commit 4b1bf6e

Please sign in to comment.