History of Idiom 91 > diff from v17 to v18
Edit summary for version 18 by programming-idioms.org:
[Go] Better demo with raw string literal
[Go] Better demo with raw string literal
↷
Version 17
2016-02-18, 16:58:02
Version 18
2016-04-28, 11:42:28
Idiom #91 Load JSON file into struct
Read from file data.json and write its content into object x.
Assume the JSON data is suitable for the type of x.
Idiom #91 Load JSON file into struct
Read from file data.json and write its content into object x.
Assume the JSON data is suitable for the type of x.
Comments bubble
&x is the address of x.
You must check errors after each step.
Comments bubble
&x is the address of x.
You must check errors after each step.