leech001 / ru-doc-code

Validator about official codes of documents from Russia in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ru-doc-code

GoDoc Build Status License Go Report Card

It is validator about official of code documents from Russia in Go

Usage

  • go get github.com/sshaplygin/ru-doc-code

Example

import (
	"log"
	
	"github.com/sshaplygin/ru-doc-code/inn"
)

...

isValid, err := inn.Validate("526317984689")
if err != nil {
    log.Fatal(err)
}
if isValid {
    log.Println("INN is valid")
}

Documentation

About

Validator about official codes of documents from Russia in Go

License:MIT License


Languages

Language:Go 100.0%