validator

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateGA added in v1.3.0

func ValidateGA(fl validator.FieldLevel) bool

ValidateGA helps to validate Google Analytics tracking code in a struct

func ValidateID

func ValidateID(fl validator.FieldLevel) bool

ValidateID is used to help to validate ID in a struct

func ValidateKey

func ValidateKey(fl validator.FieldLevel) bool

ValidateKey is used to help to validate key in a struct

func ValidatePassword

func ValidatePassword(fl validator.FieldLevel) bool

ValidatePassword is used to help to validate password in a struct

func ValidateSlug added in v1.2.0

func ValidateSlug(fl v.FieldLevel) bool

ValidateSlug is used to help to validate slug in a struct

func ValidateUsername

func ValidateUsername(fl v.FieldLevel) bool

ValidateUsername is used to help to validate username in a struct

Types

This section is empty.

Jump to

Keyboard shortcuts

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