serverless-golang-template

module
v0.0.0-...-47073ed Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2018 License: MIT

README

serverless-golang-template

Multi-function Serverless Framework template for Golang (AWS Lambda).

Requirements

  • dep (Go dependency management tool): go get -u github.com/golang/dep/cmd/dep

Quick start

  1. Create a new service in $GOPATH based on this template
serverless create -u https://github.com/mthenw/serverless-golang-template -p usersservice
  1. Update import statements in functions directory files

  2. Install framework plugin

npm i
  1. Install service dependencies
dep ensure
  1. Deploy
sls deploy

Directories

Path Synopsis
functions
create command
delete command

Jump to

Keyboard shortcuts

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