Closed aubelsb2 closed 4 years ago
@aubelsb2 thanks for the PR! Is there any usage documentation that should be added to get this working correctly with GO?
All the documentation is specific to aws sam cli.. This should "just work" as much as aws sam cli usually does. (Ie nothing special should be needed.)
Same with the custom build.. Which is what I'm doing by a make file being present in the source directory:
.PHONY: build
build-<function name>:
GOOS=linux GOARCH=amd64 go build -o handler .
mv handler $(ARTIFACTS_DIR)
cp -r templates $(ARTIFACTS_DIR)
But that's normal aws sam cli stuff. I don't think it fits in the documentation you have here.
But the only reason I'm using the custom build above is that i want to embed some other files (the template directory) in the zip file. (Otherwise the sam build seems to just build the executable without a zip!!)
Description
This adds support for
Please note; you can't simply install the Go module from apk because it's compiled with musl not libc, so you have to download it.
Adds Feature or Fixes: # (issue)
Screenshots/GIFs