A quick foray into AWS Lamba and Golang

$ go get -u github.com/apex/go-apex
apex.HandleFunc(func(event json.RawMessage, ctx *apex.Context) (interface{}, error) {
... code here...
})
{"event":{"value":"http://www.example"}}
echo '{"event":{"value":"http://www.example"}}' | apex invoke loadtest | python -m json.tool
{ 
“runtime”:”golang”,
“timeout”:30
}

--

--

[To Pedro] Just listen to your heart. That's what I do - Napoleon Dynamite | https://github.com/gleicon http://br.linkedin.com/in/gleicon

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Gleicon Moraes

Gleicon Moraes

[To Pedro] Just listen to your heart. That's what I do - Napoleon Dynamite | https://github.com/gleicon http://br.linkedin.com/in/gleicon