jimbos-first-serverless-go-lang-lambda

module
v0.0.0-...-5c54c85 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: MIT

README

Jimbos First Serverless Go Lang Lambda

An example of an AWS Lambda function written in Go!

Motivation

I went to serverlessconf 2019 today and met lots of people who are already writing lambda fuctions in go- whaaaaat! I had to get in on the fun so I went over into a corner and used the serverless framework to scaffold out a fresh go lang lambda function:

serverless create -t aws-go-dep -p jimbos-go-lang-lambda

...and just that that I had a go lang lambda function!

Usage

Once you have cloned this project, you just navigate into the project directory and run make:

cd jimbos-go-lang-lambda
make
Potential Snags
dep: No such file or directory

Initially, I was getting this error when running make:

dep ensure -v
make: dep: No such file or directory
make: *** [build] Error 1

To Fix: I needed to install (dep)[https://github.com/golang/dep]:

brew install dep
brew upgrade dep
is not within a known GOPATH/src

/Users/loaner/Git-Projects/Jimbos-Serverless-Go-Lang-Lambda/jimbos-go-lang-lambda is not within a known GOPATH/src make: *** [build] Error 1

To Fix: ? lol

Directories

Path Synopsis
jimbos-go-lang-lambda
hello command
world command

Jump to

Keyboard shortcuts

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