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, id_usuario int, id_usuario_contacto int, nombre string, ...) (int64, error)
-
func Contactos(db *sql.DB, id int) contactoCollection
-
func Crear(db *sql.DB, id_usuario int, id_usuario_contacto int, nombre string, ...) (int64, error)
-
type ContactoJ
func Contactos(db *sql.DB, id int) contactoCollection
Obtener contactos por usuario
type ContactoJ struct {
IDContacto int `json:"id_contacto"`
IDUsuario int `json:"id_usuario"`
IDUsuarioContacto int `json:"id_usuario_contacto"`
Nombre string `json:"nombre"`
Apodo string `json:"apodo"`
Telefono string `json:"telefono"`
Direccion string `json:"direccion"`
}
Estructura con tipos de datos del Json
Source Files
¶
Click to show internal directories.
Click to hide internal directories.