Documentation ¶
Index ¶
- func IsAllQuestionPresent(db *gorm.DB) validator.Func
- func IsValidQuestionResponse(v *validator.Validate, topStruct reflect.Value, currentStruct reflect.Value, ...) bool
- func IsValidSubmittedAt(v *validator.Validate, topStruct reflect.Value, currentStruct reflect.Value, ...) bool
- type FeedbackValidators
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAllQuestionPresent ¶
IsAllQuestionPresent validates the "Data" value of FeedbackResponseSerializer
func IsValidQuestionResponse ¶
func IsValidQuestionResponse( v *validator.Validate, topStruct reflect.Value, currentStruct reflect.Value, field reflect.Value, fieldType reflect.Type, fieldKind reflect.Kind, param string, ) bool
IsValidQuestionResponse validates the "Response" value of QuestionResponseSerializer
func IsValidSubmittedAt ¶
func IsValidSubmittedAt( v *validator.Validate, topStruct reflect.Value, currentStruct reflect.Value, field reflect.Value, fieldType reflect.Type, fieldKind reflect.Kind, param string, ) bool
IsValidSubmittedAt validates the "SubmittedAt" value of FeedbackResponseSerializer
Types ¶
type FeedbackValidators ¶
FeedbackValidators is used for registering validators for the feedback app
func (FeedbackValidators) Register ¶
func (feedbackValidator FeedbackValidators) Register()
Register registers all the validators for the feedback serializers
Click to show internal directories.
Click to hide internal directories.