Versions in this module Expand all Collapse all v0 v0.1.0 Jun 7, 2023 Changes in this version + const MessageInternalServerError + const MessageNewPostCreated + const MessageSuccessfulLogin + const MessageUnauthorized + const MessageUserCreated + const MessageUserEmailOrPasswordIsInvalid + const MessageUserWithThisEmailExists + var Validate = validator.New() + func FormatResponse(resData ResponseData) finalResponse + func GetValidatorErrorMessage(tag string, field string, param string) string + type ResponseData struct + Data map[string]interface{} + IsError bool + Message string + TrackId string + type ValidationError struct + FailedField string + Message string + func (ve *ValidationError) String() string