package
Version:
v0.0.0-...-516af6b
Opens a new window with list of versions in this module.
Published: Dec 2, 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 ArticleRequest struct {
Title string `json:"title" validate:"required" example:"Title"`
Desc string `json:"desc" validate:"required" example:"Description"`
}
type Error struct {
Message string `json:"message" validate:"required"`
}
type UpdateUser struct {
Email string `json:"email" validate:"required" example:"test@test.test"`
Password string `json:"password,omitempty" example:"password"`
}
type UserRequest struct {
Email string `json:"email" validate:"required" example:"test@test.test"`
Password string `json:"password" validate:"required" example:"password"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.