From 1d862d98e51d03c74610dd52e466d4d93f89f82b Mon Sep 17 00:00:00 2001 From: Andrew Andkjar Date: Tue, 29 Jan 2019 16:40:28 -0500 Subject: [PATCH 1/2] update README.md - simple typo fix --- .../{{cookiecutter.project_name}}/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samcli/local/init/templates/cookiecutter-aws-sam-hello-golang/{{cookiecutter.project_name}}/README.md b/samcli/local/init/templates/cookiecutter-aws-sam-hello-golang/{{cookiecutter.project_name}}/README.md index 669be260a7..8eeed54369 100644 --- a/samcli/local/init/templates/cookiecutter-aws-sam-hello-golang/{{cookiecutter.project_name}}/README.md +++ b/samcli/local/init/templates/cookiecutter-aws-sam-hello-golang/{{cookiecutter.project_name}}/README.md @@ -32,7 +32,7 @@ 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 executeable target. You can issue the following command in a shell to build it: From a446763bb8ccdca45e8c589b5754d52292392033 Mon Sep 17 00:00:00 2001 From: Andrew Andkjar Date: Tue, 29 Jan 2019 17:09:00 -0500 Subject: [PATCH 2/2] a couple more Golang README typo fixes --- .../{{cookiecutter.project_name}}/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samcli/local/init/templates/cookiecutter-aws-sam-hello-golang/{{cookiecutter.project_name}}/README.md b/samcli/local/init/templates/cookiecutter-aws-sam-hello-golang/{{cookiecutter.project_name}}/README.md index 8eeed54369..2400b6c11d 100644 --- a/samcli/local/init/templates/cookiecutter-aws-sam-hello-golang/{{cookiecutter.project_name}}/README.md +++ b/samcli/local/init/templates/cookiecutter-aws-sam-hello-golang/{{cookiecutter.project_name}}/README.md @@ -32,7 +32,7 @@ go get -u github.com/aws/aws-lambda-go/... ### Building -Golang is a statically 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: @@ -40,7 +40,7 @@ You can issue the following command in a shell to build it: 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