module
Version:
v0.0.0-...-47073ed
Opens a new window with list of versions in this module.
Published: Jan 20, 2018
License: MIT
Opens a new window with license information.
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
- Create a new service in $GOPATH based on this template
serverless create -u https://github.com/mthenw/serverless-golang-template -p usersservice
-
Update import statements in functions directory files
-
Install framework plugin
npm i
- Install service dependencies
dep ensure
- Deploy
sls deploy
Directories
¶
functions
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.