SkillAgentSearch skills...

Tckno

TC Identity Number Utils for validation and generation

Install / Use

/learn @peacecwz/Tckno
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

TC Identity Utils

Simple TC Identity number generator and validator (offline)

Getting Started

Install package on your project

$ go get -u github.com/peacecwz/tckno

Generate TC Identity Number

Generate TC Identity number. It's so simple

package main

import (
    "fmt"
    "github.com/peacecwz/tckno"
)

func main(){
    tckNo := tckno.Generate()
    fmt.Printf(tckNo)
}

Validate TC Identity Number

package main

import (
    "fmt"
    "github.com/peacecwz/tckno"
)

func main() {
    tckNo := "29896722612"
    result, _ := tckno.Validate(tckNo)
    if result {
        fmt.Printf("%s identity number valid", tckNo)
    }
}

License

This project is licensed under the MIT License

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated3y ago
Forks2

Languages

Go

Security Score

75/100

Audited on Jan 17, 2023

No findings