Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 675 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 675 Bytes

PkgGoDev Go Report Card

Turkish ID Number Validator

Turkish ID Number Validator for Go

Installation

go get -u github.com/serkanalgur/istckimlikgo

Usage

package main

import (
    "fmt"
    "github.com/serkanalgur/istckimlikgo"
    "log"
)

func main(){

    valid, err := istckimlikgo.Validate("11111111111")

    if err != nil {
        log.Fatal(err)
    }

    fmt.Println(valid)
}