Skip to content

yisleyen/tckimlik

Repository files navigation

TC Identity

TC identity generator and validate

Run Your Computer

go get -u github.com/yisleyen/tckimlik

Generate Tc identity

package main

import (
	"fmt"
	"github.com/yisleyen/tckimlik"
)

func main()  {
	fmt.Println(tckimlik.Generate())
}

Validate Tc identity

package main

import (
	"fmt"
	"github.com/yisleyen/tckimlik"
	"log"
)

func main()  {
	valid, err := tckimlik.Validate("11111111111")
	if err != nil {
		log.Fatal(err)
	}

	fmt.Println(valid)
}

About

Offline TC identity generator and validate

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages