Created
January 31, 2019 18:56
-
-
Save clawfire/517f5cfff2b1f8bf28e0e5f0f5c44388 to your computer and use it in GitHub Desktop.
Nuclio function hello world for Smile's innovation article about FaaS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"github.com/nuclio/nuclio-sdk-go" | |
) | |
func Handler(ctx *nuclio.Context, evt nuclio.Event) (interface{}, error) { | |
return nuclio.Response{ | |
Body: []byte("Hello, from nuclio :]"), | |
}, nil | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment