package
Version:
v0.0.0-...-7967cdc
Opens a new window with list of versions in this module.
Published: Jun 5, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Schema is the GraphQL schema served by the server.
type Author struct {
Name string `json:"lastName"`
FirstName string `json:"firstName"`
}
Author representation.
type Cookie struct {
Fortune Fortune `json:"fortune"`
}
Cookie containing fortunes.
type Fortune struct {
Message string `json:"message"`
}
Fortune contains the message.
type Post struct {
Title string `json:"title"`
Views int `json:"views"`
}
Post representation.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.