Julien Bisconti - Google Developer Expert for Google Cloud

Talks

DEPLOYING GO FUNCTIONS Julien Bisconti SRE / Data Engineer contact g.dev/julien slides: bisconti.cloud Demo git clone https://github.com/openfaas/faas-netes cd faas-netes make start_kind templates import ( "fmt" "io/ioutil" "log" "os" "handler/function" ) func main() { input, err := ioutil.ReadAll(os.Stdin) if err != nil { log.Fatalf("Unable to read standard input: %s", err.Error()) } fmt.Println(function.Handle(input)) } See all templates functions // Handle a serverless request func Handle(req []byte) string { return fmt.Sprintf("Hello, Go. You said: %s"
Menu