Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PersonToEntities ¶
Types ¶
type Person ¶
type Person struct { gogm.BaseNode Name string `gogm:"name=name;unique" json:"name"` Parent []*Person `gogm:"direction=outgoing;relationship=FAMILY" json:"parent"` Children []*Person `gogm:"direction=incoming;relationship=FAMILY" json:"children"` }
func PersonToModel ¶
func PersonToModels ¶
func (*Person) EntityWithFamily ¶
Click to show internal directories.
Click to hide internal directories.