Discover Packages
github.com/kuochaoyi/go-driver
test
package
Version:
v0.0.0-...-9778c65
Opens a new window with list of versions in this module.
Published: Feb 1, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Account struct {
ID string `json:"id"`
User *UserDoc `json:"user"`
}
type AccountEdge struct {
From string `json:"_from,omitempty"`
To string `json:"_to,omitempty"`
User *UserDoc `json:"user"`
}
type Book struct {
Title string
}
type RelationEdge struct {
From string `json:"_from,omitempty"`
To string `json:"_to,omitempty"`
Type string `json:"type,omitempty"`
}
type RouteEdge struct {
From string `json:"_from,omitempty"`
To string `json:"_to,omitempty"`
Distance int `json:"distance,omitempty"`
}
type RouteEdgeWithKey struct {
Key string `json:"_key"`
From string `json:"_from,omitempty"`
To string `json:"_to,omitempty"`
Distance int `json:"distance,omitempty"`
}
type UserDoc struct {
Name string `json:"name"`
Age int `json:"age"`
}
type UserDocWithKey struct {
Key string `json:"_key"`
Name string `json:"name"`
Age int `json:"age"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.