Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
msoap committed Mar 12, 2017
1 parent eb159ff commit d613d81
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,14 @@ type AWKVars struct {
}
}).Discard()

fmt.Println("Price sum:", sum, err)
if err != nil {
fmt.Println("Price sum:", sum)
}

```
Output:
```
Price sum: 27.81 nil
Price sum: 27.81
```
</details>

Expand Down

0 comments on commit d613d81

Please sign in to comment.