package
Version:
v0.0.0-...-657c97c
Opens a new window with list of versions in this module.
Published: Dec 16, 2018
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Blog struct {
ID string `json:"id" datastore:"-"`
UserID string `json:"userId"`
CreatedAt time.Time `json:"createdAt"`
Title string `json:"title"`
Content string `json:"content"`
}
type BlogList struct {
Nodes []Blog `json:"nodes"`
TotalCount int `json:"totalCount"`
}
type User struct {
ID string `json:"id" datastore:"-"`
Name string `json:"name"`
EMail string `json:"email"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.