Documentation ¶
Index ¶
- func CrearAsignatura(repo modelspre.PreguntasRepositorio) gin.HandlerFunc
- func GetPregunta(repo modelspre.PreguntasRepositorio) gin.HandlerFunc
- func GetPreguntas(repo modelspre.PreguntasRepositorio) gin.HandlerFunc
- func Preguntar(repo modelspre.PreguntasRepositorio) gin.HandlerFunc
- func Responder(repo modelspre.PreguntasRepositorio) gin.HandlerFunc
- type CreatePreguntaInput
- type CreateRespuestaInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CrearAsignatura ¶
func CrearAsignatura(repo modelspre.PreguntasRepositorio) gin.HandlerFunc
func GetPregunta ¶
func GetPregunta(repo modelspre.PreguntasRepositorio) gin.HandlerFunc
func GetPreguntas ¶
func GetPreguntas(repo modelspre.PreguntasRepositorio) gin.HandlerFunc
func Preguntar ¶
func Preguntar(repo modelspre.PreguntasRepositorio) gin.HandlerFunc
func Responder ¶
func Responder(repo modelspre.PreguntasRepositorio) gin.HandlerFunc
Types ¶
type CreatePreguntaInput ¶
type CreatePreguntaInput struct {
Pregunta string `json:"pregunta" binding:"required"`
}
type CreateRespuestaInput ¶
type CreateRespuestaInput struct {
Respuesta string `json:"respuesta" binding:"required"`
}
Click to show internal directories.
Click to hide internal directories.