From c7fefff9a7b3bad91922b07501b45ec49639b456 Mon Sep 17 00:00:00 2001 From: Nigel Deakin Date: Fri, 29 Sep 2017 12:06:23 +0100 Subject: [PATCH] Add README for hotfunctions go example and update docs to point to it --- examples/tutorial/hotfunctions/http/go/README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/tutorial/hotfunctions/http/go/README.md b/examples/tutorial/hotfunctions/http/go/README.md index 5a8aa3233..a785ecd93 100644 --- a/examples/tutorial/hotfunctions/http/go/README.md +++ b/examples/tutorial/hotfunctions/http/go/README.md @@ -8,7 +8,8 @@ Install the CLI tool, start a Fn server and run `docker login` to login to Docke Set your Docker Hub username -```export FN_REGISTRY= +```sh +export FN_REGISTRY= ``` Build and deploy the function to the Fn server (default localhost:8080) @@ -18,5 +19,6 @@ fn deploy --app hot-app Now call your function: -```curl -X POST -d "World" http://localhost:8080/r/hot-app/%2Fhotfn-go +```sh +curl -X POST -d "World" http://localhost:8080/r/hot-app/%2Fhotfn-go ```