innValidator

package module
v0.0.0-...-3b30dc3 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: MIT Imports: 1 Imported by: 0

README

innValidator

  • simple module for validation inn control number
Example of usage:
package main

import (
	"fmt"
	"github.com/SkurkovPavel/innValidator"
)

func example()  {

	inn := "1111111111"

	ok := innValidator.Validate(inn)
	
	if !ok {
		fmt.Printf("Inn is invalid:%v", inn )
		
	}
	
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(inn string) bool

Validate method of checking the control number for an individual or legal entity

Types

This section is empty.

Jump to

Keyboard shortcuts

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