Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 311 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 311 Bytes

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 )
		
	}
	
}