Files
dockerfiles/FaaS/OpenFaaS/template/go-clearlinux/function/handler.go
T
Sophia Gong f20becda68 Add OpenFaaS Clear Linux based GO template
Signed-off-by: Sophia Gong <sophia.gong@intel.com>
2019-12-09 18:30:54 +08:00

11 lines
163 B
Go

package function
import (
"fmt"
)
// Handle a serverless request
func Handle(req []byte) string {
return fmt.Sprintf("Hello, Go. You said: %s", string(req))
}