answer

package
v0.0.0-...-cd133ac Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnswersController

type AnswersController struct {
	ARepo answer.AnswerInterface
}

func NewAnswersControllers

func NewAnswersControllers(atrep answer.AnswerInterface) *AnswersController

func (AnswersController) CreateAnswer

func (ctrl AnswersController) CreateAnswer() echo.HandlerFunc

type CreateAnswerRequestFormat

type CreateAnswerRequestFormat struct {
	QuestionId uint64 `json:"questionId" form:"questionId" validate:"required"`
	OptionId   uint64 `json:"optionId" form:"optionId" validate:"required"`
}

Jump to

Keyboard shortcuts

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