From a0ac6165ddcb9d1d44131451961d5a74346bc20c Mon Sep 17 00:00:00 2001
From: Mark McGranaghan
Date: Sun, 1 Sep 2019 16:20:57 -0700
Subject: [PATCH] Regnerate
---
examples/json/json.go | 3 ++-
examples/json/json.hash | 4 ++--
public/json | 19 ++++++++++++++++---
3 files changed, 20 insertions(+), 6 deletions(-)
diff --git a/examples/json/json.go b/examples/json/json.go
index aaf4bac..8d443bd 100644
--- a/examples/json/json.go
+++ b/examples/json/json.go
@@ -14,7 +14,8 @@ type response1 struct {
Page int
Fruits []string
}
-// Only exported fields will be encoded/decoded in JSON.
+
+// Only exported fields will be encoded/decoded in JSON.
// Fields must start with capital letters to be exported.
type response2 struct {
Page int `json:"page"`
diff --git a/examples/json/json.hash b/examples/json/json.hash
index 3acb1f6..0c3c3a1 100644
--- a/examples/json/json.hash
+++ b/examples/json/json.hash
@@ -1,2 +1,2 @@
-d4dc2281f64061f077d8f1e9687538f41a339b25
-xC6SHbzGBZC
+6b92694b7be60cdec3e7a04e9fdbf49d5c84adb1
+63PdbTHxKJA
diff --git a/public/json b/public/json
index 1cc92b7..a0d6395 100644
--- a/public/json
+++ b/public/json
@@ -43,7 +43,7 @@ data types.
- 
+ 
@@ -76,7 +76,20 @@ decoding of custom types below.
Page int
Fruits []string
}
-type response2 struct {
+
+
+ |
+
+
+
+
+ Only exported fields will be encoded/decoded in JSON.
+Fields must start with capital letters to be exported.
+
+ |
+
+
+ type response2 struct {
Page int `json:"page"`
Fruits []string `json:"fruits"`
}
@@ -401,7 +414,7 @@ for more.
|