Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //ErrInvalidEmailOrPassword is thrown when the user's email/password is wrong. ErrInvalidEmailOrPassword = errors.New("invalid email or password") )
Functions ¶
This section is empty.
Types ¶
type Helpers ¶
type Helpers struct {
// contains filtered or unexported fields
}
Helpers are custom validations that are package agnostic
func NewHelpers ¶
func NewHelpers(ovChipkaartAPIClient ovchipkaart.APIClient) Helpers
NewHelpers creates new helpers
type ValidationResult ¶
ValidationResult stores the result of a validation
type Validator ¶
type Validator interface { ValidateCreateUserInput(input model.CreateUserInput, localeTag language.Tag) ValidationResult ValidateLoginInput(input model.LoginInput, localeTag language.Tag) ValidationResult ValidateStoreAnalzyeRequest(input model.StoreAnalyzeRequestInput, localTag language.Tag) ValidationResult ValidateAnalzyeRequestsInput(skip *int, take *int, orderBy *string, orderDirection *string, localTag language.Tag) ValidationResult }
Validator represents a validator
Click to show internal directories.
Click to hide internal directories.