Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StructValidator ¶
type StructValidator struct { MessagesValidation []map[string]string `json:"messages_validation"` ValidationSuccess bool `json:"is_valid"` }
func New ¶
func New() *StructValidator
func (StructValidator) GetMessagesValidation ¶
func (this StructValidator) GetMessagesValidation() []map[string]string
func (StructValidator) IsValid ¶
func (this StructValidator) IsValid() bool
func (*StructValidator) Validate ¶
func (this *StructValidator) Validate(_struct interface{}) (err error)
Click to show internal directories.
Click to hide internal directories.