go-lambda

command
v0.2.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2018 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

This is a very simple Hello World application written in Golang.

Instructions

  1. Build the binary to be compatible with Linux: GOOS=linux go build main.go
  2. Zip up the binary: zip main.zip ./main
  3. Invoke locally
$ echo '"world"' | sam local invoke

2018/01/23 16:00:46 Successfully parsed template.yaml
2018/01/23 16:00:46 Connected to Docker 1.30
2018/01/23 16:00:46 Fetching lambci/lambda:go1.x image for go1.x runtime...
....
"Hello world!"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL