func Hello()

in openwhisk/_test/hello/hello.go [28:38]


func Hello(args map[string]interface{}) map[string]interface{} {
	res := make(map[string]interface{})
	greetings := "Stranger"
	name, ok := args["name"].(string)
	if ok {
		greetings = name
	}
	res["greetings"] = "Hello, " + greetings
	fmt.Printf("Hello, %s\n", greetings)
	return res
}