readme mods

This commit is contained in:
Chad Arimura
2017-05-25 14:54:11 -07:00
parent bf642a0a83
commit c52039eb35

View File

@@ -41,17 +41,17 @@ That's it!
cat hello.payload.json | fn run cat hello.payload.json | fn run
``` ```
2. We received our input through stdin 2. We received our function input through **stdin**
```go ```go
json.NewDecoder(os.Stdin).Decode(p) json.NewDecoder(os.Stdin).Decode(p)
``` ```
3. We wrote our output to stdout 3. We wrote our output to **stdout**
```go ```go
fmt.Printf("Hello") fmt.Printf("Hello")
``` ```
4. We sent stderr to the server logs 4. We sent **stderr** to the server logs
```go ```go
log.Println("here") log.Println("here")
``` ```