From 2c899e39059b55e83747e033f2f701c1ef344190 Mon Sep 17 00:00:00 2001 From: Chad Arimura Date: Thu, 25 May 2017 14:44:02 -0700 Subject: [PATCH] readme mods --- examples/tutorial/hello/go/README.md | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/examples/tutorial/hello/go/README.md b/examples/tutorial/hello/go/README.md index 5e2f7cbe0..3ac866716 100644 --- a/examples/tutorial/hello/go/README.md +++ b/examples/tutorial/hello/go/README.md @@ -35,17 +35,9 @@ curl -H "Content-Type: application/json" -X POST -d @hello.payload.json http://l # In Review -1. We piped JSON data into the function at the command line +1. We piped JSON data into the function at the command line: `cat hello.payload.json | fn run` -```sh -cat hello.payload.json | fn run -``` - -2. We received our input through stdin - -```go -json.NewDecoder(os.Stdin).Decode(p) -``` +2. We received our input through stdin: `json.NewDecoder(os.Stdin).Decode(p)` 3. We wrote our output to stdout