Skip to content

Commit feabdd6

Browse files
committed
use go install to install build-lambda-zip.
go 1.18 removed the ability to use `go get` to install binaries. we should use `go install` instead. fixes aws/aws-lambda-go#463
1 parent 4c88540 commit feabdd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: doc_source/golang-package.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ If you have not already done so, you must install [git](https://git-scm.com/) an
8888
1. Download the **build\-lambda\-zip** tool from GitHub:
8989

9090
```
91-
go.exe get -u github.com/aws/aws-lambda-go/cmd/build-lambda-zip
91+
go.exe install github.com/aws/aws-lambda-go/cmd/build-lambda-zip@latest
9292
```
9393

9494
1. Use the tool from your `GOPATH` to create a \.zip file\. If you have a default installation of Go, the tool is typically in `%USERPROFILE%\Go\bin`\. Otherwise, navigate to where you installed the Go runtime and do one of the following:

0 commit comments

Comments
 (0)