go-serverless

module
v0.0.0-...-668ed7f Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: Apache-2.0

README

License

Go Serverless

This is a sample serverless app using Golang. In this README, you will find instructions to setup a Go development environment, install required dependencies, run the tests, and deploy the Serverless API app to AWS.

Setup

Go

Download and install the latest version of Go from following the instructions here.

Node

This project uses a .nvmrc file to automatically set the local Node version. If you are not using NVM to manage node versions locally, you will need to download and use Node version 16.13.0 or newer.

Yarn

Download and install the latest version of Yarn from following the instructions here.

Installing Dependencies

Required Go Dependencies

To download and install the required Go dependencies, run the following command from a terminal within the root directory of the project:

$ go mod tidy
Serverless

To download and install serverless and the local/offline serverless plugins, run the following command from a terminal within the root directory of the project:

$ yarn install

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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