input

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserInput

type UserInput struct {
	Name  string `json:"name" binding:"required" validate:"required" example:"user name"`
	Phone string `json:"phone" binding:"required" validate:"required,phone_format" example:"+5511999999999"`
}

func (*UserInput) Validate

func (input *UserInput) Validate(v *validator.Validator) error

Jump to

Keyboard shortcuts

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