Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type ErrorResponse struct { FailedField string `json:"failed_field"` Tag string `json:"tag"` Value string `json:"value"` }
func ValidateStruct ¶
func ValidateStruct(v interface{}) []*ErrorResponse
ValidateStruct validates struct date and returns errors
Click to show internal directories.
Click to hide internal directories.