validations

package
v0.0.0-...-65f3c3b Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InvalidType

func InvalidType(t interface{}) error

func ModElevenCalculator

func ModElevenCalculator(a string, m []int) string

func SumAccountDigits

func SumAccountDigits(a string, m []int) int

func ValidateAmount

func ValidateAmount(b interface{}) error

ValidateAmount valida o valor do titulo

func ValidateBuyerDocumentNumber

func ValidateBuyerDocumentNumber(b interface{}) error

ValidateBuyerDocumentNumber verifica se o número do documento do pagador é válido

func ValidateExpireDate

func ValidateExpireDate(b interface{}) error

ValidateExpireDate valida se a data de expiração do boleto não está no passado

func ValidateRecipientDocumentNumber

func ValidateRecipientDocumentNumber(b interface{}) error

ValidateRecipientDocumentNumber Verifica se o número do documento do recebedor é válido

Types

This section is empty.

Jump to

Keyboard shortcuts

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