From 3ee7c7a6f3caefc512e64398e3ade79cee1193c3 Mon Sep 17 00:00:00 2001 From: Ichinose Shogo Date: Sat, 20 Aug 2022 15:45:54 +0900 Subject: [PATCH] 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 https://github.com/aws/aws-lambda-go/issues/463 --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 7fb8d9a5..67a8f02e 100644 --- a/README.md +++ b/README.md @@ -58,8 +58,7 @@ Windows developers may have trouble producing a zip file that marks the binary a Get the tool ``` shell -set GO111MODULE=on -go.exe get -u github.com/aws/aws-lambda-go/cmd/build-lambda-zip +go.exe install github.com/aws/aws-lambda-go/cmd/build-lambda-zip@latest ``` Use the tool from your `GOPATH`. If you have a default installation of Go, the tool will be in `%USERPROFILE%\Go\bin`.