Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nhost/golambda

Utility to convert standard Go serverless functions to Lambda compatible ones
https://github.com/nhost/golambda

aws go golang lambda nhost

Last synced: 2 days ago
JSON representation

Utility to convert standard Go serverless functions to Lambda compatible ones

Awesome Lists containing this project

README

        

# golambda

[![Build](https://github.com/nhost/golambda/actions/workflows/build.yaml/badge.svg)](https://github.com/nhost/golambda/actions/workflows/build.yaml)   [![Release](https://github.com/nhost/golambda/actions/workflows/release.yaml/badge.svg?branch=main&event=release)](https://github.com/nhost/golambda/actions/workflows/release.yaml)

Simple golang utility to convert existing golang functions into lambda compatible ones.

We built this tool for our internal requirement of deploying Nhost functions using golang as their runtimes on AWS Lambda.

Checkout a simple example [here](/example).

## Install

Download the compiled binary from the [release page](https://github.com/nhost/golambda/releases).

Or download using go: `go get github.com/nhost/golambda`

## Usage

`golambda -source {golang_function_file}.go -output {output_zip_file}.zip`

The output file can directly be deployed on AWS Lambda.