Skip to content

personnummer/go

 
 

Repository files navigation

personnummer GitHub Workflow Status GoDoc Go Report Card

Validate Swedish personal identity numbers.

Installation

go get -u github.com/personnummer/go/v3

Example

package main

import (
	personnummer "github.com/personnummer/go/v3"
)

func main() {
	personnummer.Valid("198507099805")
	//=> true
}

License

MIT