package
module
Version:
v0.0.0-...-0f99094
Opens a new window with list of versions in this module.
Published: Oct 2, 2017
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Post struct {
ID string `json:"id" datastore:"-"`
UserID string `json:"userId"`
CreatedAt time.Time `json:"createdAt"`
Content string `json:"content"`
}
type PostListResult struct {
Nodes []Post `json:"nodes"`
TotalCount int `json:"totalCount"`
}
type User struct {
ID string `json:"id" datastore:"-"`
Name string `json:"name"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.