validation

package
v0.0.0-...-b6fdb97 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmailValidation

func EmailValidation(email string, checkType CheckType) (bool, error)

func PostCodeValidation

func PostCodeValidation(postcode string, checkType CheckType) (bool, error)

func PrepareAndCallApyhub

func PrepareAndCallApyhub(ReqStruct interface{}, APILink string) (bool, error)

func VatValidation

func VatValidation(vat string) (bool, error)

Types

type CheckType

type CheckType int
const (
	DNS CheckType = iota
	Acadamic
)
const (
	IN CheckType = iota + 2
	UK
)

type Response

type Response struct {
	Data bool
}

Jump to

Keyboard shortcuts

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