package
Version:
v0.0.0-...-9ac15d8
Opens a new window with list of versions in this module.
Published: Mar 6, 2020
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Login struct {
Name string `json:"name"`
Password string `json:"password"`
}
type NewTask struct {
Title string `json:"title"`
Content string `json:"content"`
}
type NewUser struct {
Name string `json:"name"`
Password string `json:"password"`
}
type RefreshTokenInput struct {
Token string `json:"token"`
}
type Task struct {
ID string `json:"id"`
Title string `json:"title"`
Content string `json:"content"`
User *User `json:"user"`
}
type User struct {
ID string `json:"id"`
Name string `json:"name"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.