Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CancelFunc ¶
type CancelFunc func()
func GetDgraphClient ¶
func GetDgraphClient() (*dgo.Dgraph, CancelFunc)
type Person ¶
type Person struct {
Uid string `json:"uid,omitempty"`
Name string `json:"name,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
Status bool `json:"status,omitempty"`
Friend []Person `json:"friend,omitempty"`
Location loc `json:"loc,omitempty"`
DType []string `json:"dgraph.type,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.