mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
15 lines
216 B
Go
15 lines
216 B
Go
package function
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/nishakm/strategy_generator/pkg"
|
|
)
|
|
|
|
// Handle a serverless request
|
|
func Handle(req []byte) string {
|
|
|
|
statement := pkg.Generate()
|
|
return fmt.Sprintf("%s", statement)
|
|
}
|