package
Version:
v0.0.0-...-723eb5a
Opens a new window with list of versions in this module.
Published: Oct 18, 2019
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Create crea un nuevo usuario
Delete elimina un usuario por su id
Get trae un solo usuario por su ID
GetAll Obtiene todos los datos
Update actualiza los campos
type User struct {
gorm.Model
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
Age int `json:"age"`
}
User es la estructura para el usuario
Source Files
¶
Click to show internal directories.
Click to hide internal directories.