validation

package
v1.50.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: MIT Imports: 3 Imported by: 0

README

validation

GoDoc

Package validation is a set of functions that help us validate different parameters such as emails or JSON.

Install
import (
	"libs.altipla.consulting/validation"
)
Contributing

You can make pull requests or create issues in GitHub. Any code you send should be formatted using make gofmt.

Running tests

Run the tests:

make test
License

MIT License

Documentation

Overview

Package validation is a set of functions that help us validate different parameters such as emails or JSON.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidCode

func IsValidCode(code string) bool

func IsValidEmail

func IsValidEmail(email string) bool

func IsValidJSON

func IsValidJSON(j string) bool

func NormalizeEmail

func NormalizeEmail(email string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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