Skip to content

Commit a3061c6

Browse files
committed
Update content about json
1 parent 930876e commit a3061c6

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

README.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -1331,24 +1331,24 @@ if err != nil {
13311331
fmt.Printf("%s", data)
13321332
// Output
13331333
{
1334-
"name": "gouguoyin",
1335-
"age": 18,
1336-
"birthday1": "2003-07-16 13:14:15",
1337-
"birthday2": "2003-07-16 13:14:15.999",
1338-
"birthday3": "2003-07-16 13:14:15.999999",
1339-
"birthday4": "2003-07-16 13:14:15.999999999",
1340-
"graduated_at1": "2020-08-05",
1341-
"graduated_at2": "2020-08-05.999",
1342-
"graduated_at3": "2020-08-05.999999",
1343-
"graduated_at4": "2020-08-05.999999999",
1344-
"operated_at1": "13:14:15",
1345-
"operated_at2": "13:14:15.999",
1346-
"operated_at3": "13:14:15.999999",
1347-
"operated_at4": "13:14:15.999999999",
1348-
"created_at1": 1596604455,
1349-
"created_at2": 1596604455999,
1350-
"created_at3": 1596604455999999,
1351-
"created_at4": 1596604455999999999
1334+
"name": "gouguoyin",
1335+
"age": 18,
1336+
"birthday1": "2003-07-16 13:14:15",
1337+
"birthday2": "2003-07-16 13:14:15.999",
1338+
"birthday3": "2003-07-16 13:14:15.999999",
1339+
"birthday4": "2003-07-16 13:14:15.999999999",
1340+
"graduated_at1": "2020-08-05",
1341+
"graduated_at2": "2020-08-05.999",
1342+
"graduated_at3": "2020-08-05.999999",
1343+
"graduated_at4": "2020-08-05.999999999",
1344+
"operated_at1": "13:14:15",
1345+
"operated_at2": "13:14:15.999",
1346+
"operated_at3": "13:14:15.999999",
1347+
"operated_at4": "13:14:15.999999999",
1348+
"created_at1": 1596604455,
1349+
"created_at2": 1596604455999,
1350+
"created_at3": 1596604455999999,
1351+
"created_at4": 1596604455999999999
13521352
}
13531353

13541354
err := json.Unmarshal([]byte(data), &person)

0 commit comments

Comments
 (0)