package
Version:
v1.1.5
Opens a new window with list of versions in this module.
Published: Aug 25, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
UserInfo will grab the users name and email from the makeschool GraphQL API
type Info struct {
Data struct {
CurrentUser struct {
Name string `json:"name"`
StudentEmail string `json:"studentEmail"`
} `json:"currentUser"`
} `json:"data"`
}
Info represents the json struct that we get back from Make School.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.