model

package
v0.0.0-...-41d80be Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Actualizar

func Actualizar(db *sql.DB, nombre_grupo_debe_decir string, nombre_grupo_dice string) (int64, error)

func Borrar

func Borrar(db *sql.DB, nombre_grupo string) (int64, error)

func Crear

func Crear(db *sql.DB, id_usuario int, nombre_grupo string) (int64, error)

Types

type ActualizarGrupoJ

type ActualizarGrupoJ struct {
	NombreGrupoDice      string `json:"nombre_grupo_dice"`
	NombreGrupoDebeDecir string `json:"nombre_grupo_debe_decir"`
}

type GrupoJ

type GrupoJ struct {
	IDGrupo     int    `json:"id_grupo"`
	IDUsuario   int    `json:"id_usuario"`
	NombreGrupo string `json:"nombre_grupo"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL