package
Version:
v0.0.0-...-41d80be
Opens a new window with list of versions in this module.
Published: Jan 17, 2020
License: MIT
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
¶
-
func Actualizar(db *sql.DB, nombre string, edad string, email string, contrasenia string, ...) (int64, error)
-
func Insertar(db *sql.DB, nombre string, edad string, email string, contrasenia string) (int64, error)
-
func Usuario(db *sql.DB, id int) usuarioCollection
-
func Usuarios(db *sql.DB) usuarioCollection
-
type UsuarioJ
func Usuario(db *sql.DB, id int) usuarioCollection
func Usuarios(db *sql.DB) usuarioCollection
Obtener usuarios registrados
type UsuarioJ struct {
IDUsuario int `json:"id_usuario"`
Nombre string `json:"nombre"`
Edad string `json:"edad"`
Email string `json:"email"`
Contrasenia string `json:"contrasenia"`
}
Estructura con tipos de datos del Json
Source Files
¶
Click to show internal directories.
Click to hide internal directories.