diff options
author | d-tsuji <dram.dt.shonan@gmail.com> | 2020-09-05 17:10:17 +0900 |
---|---|---|
committer | Emmanuel Odeke <emm.odeke@gmail.com> | 2020-09-06 04:50:12 +0000 |
commit | 218d57ff382d0ceed307785cc13b9e2f1702dbac (patch) | |
tree | bb68411a7bd78d94c4c5a24143d0988a0828db30 /content/json.article | |
parent | d241bfce965a553d85e6d650ce17acc6ac425276 (diff) |
content: fix code indents
Change-Id: If4931701d111fad6228724c9307dc8ffd5ec646c
Reviewed-on: https://go-review.googlesource.com/c/blog/+/253098
Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Diffstat (limited to 'content/json.article')
-rw-r--r-- | content/json.article | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/json.article b/content/json.article index bedeba6..d6a1c9b 100644 --- a/content/json.article +++ b/content/json.article @@ -216,8 +216,8 @@ Let's define a Go type to contain the data from the previous example: Parents []string } - var m FamilyMember - err := json.Unmarshal(b, &m) + var m FamilyMember + err := json.Unmarshal(b, &m) Unmarshaling that data into a `FamilyMember` value works as expected, but if we look closely we can see a remarkable thing has happened. |