playground

package
Version: v0.0.0-...-d814896 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(i interface{}) error

Validate validates a struct

Types

type GoPlaygroundValidator

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

GoPlaygroundValidator Request Validation. Currently Empty But can add any Validator

func New

func New() *GoPlaygroundValidator

New Creates a new go-playground validator

func (*GoPlaygroundValidator) Validate

func (v *GoPlaygroundValidator) Validate(i interface{}) error

Validate Implements the validator interface

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL