viewer

module
v0.0.0-...-dc33850 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT

README

UPDATE

Starting from version 1.26 Serverless Framework includes two Golang templates:

  • aws-go - basic template with two functions
  • aws-go-dep - recommended template using dep package manager

You can use them with create command:

serverless create -t aws-go-dep

Original README below.


Serverless Template for Golang

This repository contains template for creating serverless services written in Golang.

Quick Start

  1. Create a new service based on this template
serverless create -u https://github.com/serverless/serverless-golang/ -p myservice
  1. Compile function
cd myservice
GOOS=linux go build -o bin/main
  1. Deploy!
serverless deploy

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

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