Is it possible to use a Golang lambda with the new lambda layers feature from AWS?
I have been trying to find a solution to use layers with my Lambda function written in Go, but I have not been able to do so. I got it working with python lambda though. I feel like since the Go code is a compiled binary, it's not possible to use a layer import during runtime. If I have the code for the layer locally, the import gets compiled into the binary as well which defeats the purpose of using a layer.
Does anyone know or have any examples around of Lambda Layers using Golang?