package
Version:
v0.0.0-...-7628a63
Opens a new window with list of versions in this module.
Published: Nov 13, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
New creates an instance of readjson.
type Social struct {
Facebook string `json:"facebook"`
}
Social struct which contains a
list of links
type User struct {
Name string `json:"name"`
Type string `json:"type"`
Age int `json:"Age"`
Social Social `json:"social"`
}
User struct which contains a name
a type and a list of social links
type Users struct {
Users []User `json:"users"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.