type_common

package
v0.0.0-...-04e9ec7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseError

type DatabaseError struct {
	StatusCode int    `json:"statusCode"`
	Message    string `json:"message"`
}

type ErrorResponse

type ErrorResponse struct {
	Error       bool
	FailedField string
	Tag         string
	Value       interface{}
}

type GlobalErrorHandlerResp

type GlobalErrorHandlerResp struct {
	Success bool   `json:"success"`
	Message string `json:"message"`
}

type Message

type Message struct {
	StatusCode int    `json:"statusCode"`
	Message    string `json:"message"`
}

type XValidator

type XValidator struct {
	// contains filtered or unexported fields
}

func GetLaughingTaleValidator

func GetLaughingTaleValidator() *XValidator

func (XValidator) Validate

func (v XValidator) Validate(data interface{}) []string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL