formatter

package module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: MIT Imports: 7 Imported by: 4

README

validation-formatter

Formatter go playground validator

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Validate *validator.Validate

Functions

func NewValidateFormatter

func NewValidateFormatter(language lang.Language, typeCase TypeCase) *validateFormatter

Types

type TypeCase

type TypeCase string
const (
	SnackCase TypeCase = "SnackCase"
	CamelCase TypeCase = "CamelCase"
)

type ValidateFormatter

type ValidateFormatter interface {
	GetErrorMsgValidation(err error) map[string]any
}

Directories

Path Synopsis
custom
utils

Jump to

Keyboard shortcuts

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