package
Version:
v0.0.0-...-375100f
Opens a new window with list of versions in this module.
Published: Jun 19, 2020
License: Unlicense
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CreateUser struct {
Name string `json:"name" binding:"required"`
Email string `json:"email" binding:"required"`
}
type UpdateUser struct {
Name string `json:"name"`
Email string `json:"email"`
}
type User struct {
ID uint `json:"id" gorm:"primary_key"`
Name string `json:"name"`
Email string `json:"email"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.