package
Version:
v0.0.0-...-183bbd4
Opens a new window with list of versions in this module.
Published: Nov 30, 2023
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 LoginUserInput struct {
Email string `json:"email"`
Password string `json:"password"`
}
type NewAnswerInput struct {
Content string `json:"content"`
Author int `json:"author"`
Question int `json:"question"`
}
type NewQuestionInput struct {
Title string `json:"title"`
Content string `json:"content"`
Slug string `json:"slug"`
Author int `json:"author"`
Tags []string `json:"tags"`
}
type NewTagInput struct {
Name string `json:"name"`
}
type NewUserInput struct {
UserName string `json:"username"`
Email string `json:"email"`
Password string `json:"password"`
}
type UpdateAnswerInput struct {
Content string `json:"content"`
}
type UpdateQuestionInput struct {
Title string `json:"title"`
Content string `json:"content"`
Tags []string `json:"tags"`
}
type UpdateTagInput struct {
Name string `json:"name"`
}
type UpdateUserInput struct {
UserName string `json:"username"`
Password string `json:"password"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.