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

https://github.com/openfunction/functions-framework-go

Go functions framework for OpenFunction
https://github.com/openfunction/functions-framework-go

Last synced: 6 months ago
JSON representation

Go functions framework for OpenFunction

Awesome Lists containing this project

README

          

# OpenFunction Functions Framework for Go

**functions-framework-go** is an implementation of functions-framework in Go. It follows the functions-framework criteria for function-to-application conversions.

To learn more about the functions-framework criteria, refer to the following links:

- [functions-framework proposal](https://github.com/OpenFunction/OpenFunction/blob/main/docs/proposals/202105-add-function-framework.md)
- [functions-framework repository](https://github.com/OpenFunction/functions-framework)

## Usage

**functions-framework-go** requires a Go 1.15+ environment. To import this pkg, configure the following code in the `go.mod` file:

> Get the correct *version* in [Compatibility](#compatibility).

```go
require (
github.com/OpenFunction/functions-framework-go
)
```

## Samples

To learn how to use **function-framework-go** and how it works, refer to the [functions-framework samples](https://github.com/OpenFunction/samples#functions-framework-samples) in the OpenFunction Samples repository.

## Compatibility

| Version | OpenFunction | Context | Builder tag (Go) |
| ---------------------------------- | ------------ | ------- | -------------------------------------------- |
| v0.0.0-20210628081257-4137e46a99a6 | v0.3.* | v0.1.0 | v0.2.2 (openfunction/builder-go:v0.2.2-1.15) |
| v0.0.0-20210922063920-81a7b2951b8a | v0.4.* | v0.2.0 | v0.3.0 |
| v0.1.* | v0.5.* | v0.2.0 | v0.4.0 |
| v0.2.* | v0.6.* | v0.3.0 | v2-1.16+ |