Skip to content

Commit

Permalink
docs: use go install to install build-lambda-zip. (#464)
Browse files Browse the repository at this point in the history
go 1.18 removed the ability to use `go get` to install binaries.
we should use `go install` instead.
fixes #463
  • Loading branch information
shogo82148 authored Aug 21, 2022
1 parent 4c09e84 commit 0f46684
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 0f46684

Please sign in to comment.