Discover Packages
github.com/riyadennis/graphql
graph
model
package
Version:
v0.0.0-...-5f0c23e
Opens a new window with list of versions in this module.
Published: Nov 22, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Country struct {
Name string `json:"name"`
}
type Family struct {
ID string `json:"id"`
Name *string `json:"Name"`
Country *string `json:"Country"`
Members []*Member `json:"Members"`
}
type Member struct {
ID string `json:"id"`
Type *string `json:"Type"`
Person *Person `json:"Person"`
}
type Person struct {
ID string `json:"id"`
FirstName string `json:"FirstName"`
LastName string `json:"LastName"`
DateOfBirth string `json:"DateOfBirth"`
Country *string `json:"Country"`
Spouse *Person `json:"Spouse"`
Father *Person `json:"Father"`
Mother *Person `json:"Mother"`
Children []*Person `json:"Children"`
}
type Work struct {
ID string `json:"id"`
Name *string `json:"Name"`
Country *string `json:"Country"`
Industry *string `json:"Industry"`
Ceo *Person `json:"CEO"`
Employee []*Person `json:"Employee"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.