added go tag to codeblock

This commit is contained in:
Josh Baker 2016-08-21 10:56:31 -07:00 committed by GitHub
parent 360ac81635
commit e42a0961e6
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ for _,name := range result.Multi {
Sometimes you may want to see if the value actually existed in the json document.
```
```go
value := gjson.Get(json, "name.last")
if !value.Exists() {
println("no last name")